Verilog 2 - Brown University
Verilog 2 - Brown University
Verilog 2 - Brown University
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Example from question (3) from Lab 1<br />
module quest3(CLOCK_50, LEDR);!<br />
input CLOCK_50;!<br />
output reg [17:0] LEDR;!<br />
integer count;!<br />
always @(posedge CLOCK_50)!<br />
begin!<br />
!if(count == 50000000)!<br />
! !begin!<br />
! ! !LEDR[0]