Decoder - gate, data flow and behavioral design
Problem Description
There are various levels of abstraction present in Verilog Programming. Mainly four levels:
Switch Level Design
Gate Level Design
Data Flow Design
Behavioral Design
In this question write Gate Level, Data Flow Design and Behavioral Design for 2×4 Decoder, having Inputs as 'a' and 'b' and outputs as follows:
ab: Output "1" when both 'a' and 'b' equals 1, otherwise output 0
adashb: Output "1" when a=0 and b=1, otherwise output 0
abdash: Output "1" when a=1 and b=0, otherwise output 0
adashbdash: Output "1" when a=0 and b=0, otherwise output 0
Example:
a=0∣b=0→ ab_gate_design=0 | adashb_gate_design=0 | abdash_gate_design=0 | adashbdash_gate_design=1
Verilog
Code Editor Access
Log in to write, run and submit your solution to this interview question. It's free.
