Latest Post

Ads

Verilog: User Defined Primitives (UDP) of OR Gate

Verilog Code for User Defined Primitives of OR Gate

primitive udp_or(
    input a, b,
    output c
    );
table 
//a b : c 1 ? : 1; ? 1 : 1; 0 0 : 0; 0 x : x; x 0 : x;
endtable 
endprimitive

Also See:

List of Verilog Programs

Comments

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