BitFlow

NOR Gate

beginner · combinational · 25 XP

Sign in to write your solution, run it in the simulator and submit it for grading.

Sign in or create a free account →

Problem

NOR Gate Implement a 2-input NOR gate. Output is high **only** when both inputs are low. **Truth Table** | a | b | y | |---|---|---| | 0 | 0 | 1 | | 0 | 1 | 0 | | 1 | 0 | 0 | | 1 | 1 | 0 |

Constraints

  • Use a single assign with ~( ) around the | expression.

Examples

Input: a=0, b=0

Output: y=1

Input: a=1, b=0

Output: y=0

Common questions

What does the NOR Gate problem ask you to build?
NOR Gate Implement a 2-input NOR gate. Output is high **only** when both inputs are low. **Truth Table** | a | b | y | |---|---|---| | 0 | 0 | 1 | | 0 | 1 | 0 | | 1 | 0 | 0 | | 1 | 1 | 0 |
What constraints does NOR Gate have?
Use a single assign with ~( ) around the | expression.
What is an example input and output for NOR Gate?
Input a=0, b=0 gives output y=1.
Which Verilog concepts does NOR Gate practise?
combinational, gates.