반응형
Problem description
- module은 TOP이고 Input inA, inB Output out를 가지고 있습니다.
- inA와 inB는 NOR Gate를 통해 out으로 나갑니다.
Code
module TOP (
input inA,
input inB,
output out);
assign out=~(inA|inB);
endmodule
Description
- "|"는 bit, "||"는 논리 연산자 입니다.
- "~|"은 NOR bit 연산자 입니다.
728x90
반응형
'Design' 카테고리의 다른 글
[RTL Design] Clock Divider (2) (2) | 2025.07.11 |
---|---|
[RTL Design] XNOR Gate (0) | 2024.05.24 |
[RTL Design] And gate (0) | 2024.05.24 |
[RTL Design] Inverter (Not gate) (0) | 2024.05.22 |
[RTL Design] Wire 2 (0) | 2024.05.22 |