Posts

Showing posts from December, 2024

VLSI: AND Gate Dataflow Modelling with Testbench

Image
Verilog Code for AND gate Dataflow Modelling module ANDgate(     input a,     input b,     output c     ); assign c = a & b; endmodule //Testbench code for AND gate Dataflow Modelling initial begin               // Initialize Inputs               a = 0;b = 0;               // Wait 100 ns for global reset to finish               #100 a = 0; b = 1;               #100 a = 1; b = 0;               #100 a = 1; b = 1;  e nd Output:

Popular posts from this blog

VLSI: BCD to Excess 3 and Excess 3 to BCD Dataflow Modelling

VLSI: 1-4 DEMUX (Demultiplexer) Dataflow Modelling with Testbench

Verilog: 2 - 4 Decoder Structural/Gate Level Modelling with Testbench

Verilog: 4 to 2 Encoder Behavioral Modelling using Case Statement with Testbench Code

VLSI: 2 Bit Magnitude Comparator Dataflow Modelling