Sim/circuit5
2023. 6. 20. 20:09ㆍFPGA/HDLBits
728x90
This is a combinational circuit. Read the simulation waveforms to determine what the circuit does, then implement it.
module top_module (
input [3:0] a,
input [3:0] b,
input [3:0] c,
input [3:0] d,
input [3:0] e,
output [3:0] q );
always @ (*)
case (c)
4'h0 : q = b;
4'h1 : q = e;
4'h2 : q = a;
4'h3 : q = d;
default q = 4'hf;
endcase
endmodule
'FPGA > HDLBits' 카테고리의 다른 글
Sim/circuit7 (0) | 2023.06.20 |
---|---|
Sim/circuit6 (0) | 2023.06.20 |
Sim/circuit4 (0) | 2023.06.20 |
Sim/circuit3 (0) | 2023.06.20 |
Sim/circuit2 (0) | 2023.06.20 |