7420
2023. 6. 12. 10:53ㆍFPGA/HDLBits
728x90
The 7400-series integrated circuits are a series of digital chips with a few gates each. The 7420 is a chip with two 4-input NAND gates.
Create a module with the same functionality as the 7420 chip. It has 8 inputs and 2 outputs.
module top_module (
input p1a, p1b, p1c, p1d,
output p1y,
input p2a, p2b, p2c, p2d,
output p2y );
assign p1y = ~(p1a & p1b & p1c & p1d);
assign p2y = ~(p2a & p2b & p2c & p2d);
endmodule
'FPGA > HDLBits' 카테고리의 다른 글
Two-bit equality (Mt2015 eq2) (0) | 2023.06.12 |
---|---|
Truthtable1 (0) | 2023.06.12 |
More logic gates (Gates) (0) | 2023.06.12 |
Two gates (Exams/m2014 q4g) (0) | 2023.06.12 |
Another gate (Exams/m2014 q4f) (0) | 2023.06.12 |