Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

EEE 304

Lab test (Set-A)

Implement the following circuit in Verilog. S, CLR, CLK, and 4 bit D is input. 4 bit Q is output. Show the output results on LED.
Use pin (47,48,49,51) for D, 60 for S, 62 for CLR, and 63 for CLK.
Note: Try to understand the operation of the circuit. The code will not take time once you understand how it works.

CLR
S

D[3] D[2] D[1] D[0]


0 0 0 0 0 0 0 0 0 0 0 0

1 D Q 1 1 D Q 1 1 D Q 1 1 D Q 1 Q[0]
Q[3] Q[2] Q[1]

Q Q Q Q

CLK

You might also like