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

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