Posts

Showing posts from November, 2024

VLSI: 1 Bit Magnitude Comparator Dataflow Modelling with Testbench

Image
Verilog Code for 1 Bit Magnitude Comparator Dataflow Modelling module comparator_1_bit(     input x,     input y,     output a,  //x>y     output b,  //x=y     output c   //x<y     ); assign xn = ~ x; assign yn = ~ y; assign a = x & yn; assign c = xn & y; assign b = ~ ( a | c ); endmodule //Testbench code for 1 Bit Magnitude Comparator Dataflow Modelling initial begin                              // Initialize Inputs             ...

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

VLSI: 4-1 MUX Dataflow Modelling with Testbench

1 to 4 DEMUX (Demultiplexer) Verilog CodeStructural/Gate Level Modelling with Testbench

Full Subtractor Verilog Code in Structural/Gate Level Modelling with Testbench