Latest Post

Ads

VLSI: 4-1 MUX Gate Level Modelling

module FourtoOneMUX(
    input s1,
    input s0,
    input i0,
    input i1,
    input i2,
    input i3,
    output out
    );

wire sn0,sn1;
wire y0,y1,y2,y3;
not n1(s1n,s1);
not n2(s0n,s0);
and a1(y0,i0,sn0,sn1);
and a2(y1,i1,sn0,s1);
and a3(y2,i2,s0,sn1);
and a4(y3,i3,s0,s1);
or o1(out,y0,y1,y2,y3);

endmodule

Ads

Popular posts from this blog

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

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

VLSI: 4-1 MUX Dataflow Modelling with Testbench

VLSI: Half Subtractor and Full Subtractor Gate Level Modelling

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