Latest Post

Ads

Verilog: User Defined Premitives (UDP) of AND Gate

Verilog Code for User Defined Primitives of AND Gate

primitive udp_and(
    input a, b,
    output out
    );
table 
//a b : out 
-------------- 
  0 0 : 0; 
  0 1 : 0; 
  1 0 : 0; 
  1 1 : 1; 
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