10.07.2015 Views

User Manual - Terasic

User Manual - Terasic

User Manual - Terasic

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 6-14 Saving the Verilog HDL fileThe resulting empty file is ready for you to enter the Verilog HDL code.4. Type the following Verilog HDL code into the blank simple_counter.v file, as shown in Figure6-15.//It has a single clock input and a 32-bit output portmodule simple_counter (input CLOCK_5 ;output [31:0] counter_out;);CLOCK_5,counter_outreg[31:0] counter_out;51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!