diff options
Diffstat (limited to 'scripts/icestorm/example.v')
-rw-r--r-- | scripts/icestorm/example.v | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/scripts/icestorm/example.v b/scripts/icestorm/example.v index 5c40661..cd52c76 100644 --- a/scripts/icestorm/example.v +++ b/scripts/icestorm/example.v @@ -7,18 +7,8 @@ module top ( // ------------------------------- // Clock Buffer - wire clk; + wire clk = clk_pin; -`ifdef USE_SB_GB_IO - SB_GB_IO #( - .PIN_TYPE(6'b 0000_01) - ) clk_gb ( - .PACKAGE_PIN(clk_pin), - .GLOBAL_BUFFER_OUTPUT(clk) - ); -`else - assign clk = clk_pin; -`endif // ------------------------------- // Reset Generator @@ -31,6 +21,7 @@ module top ( resetn_counter <= resetn_counter + 1; end + // ------------------------------- // PicoRV32 Core @@ -60,6 +51,7 @@ module top ( .mem_rdata(mem_rdata) ); + // ------------------------------- // Memory/IO Interface |