top of page

5.1.6 Supply nets

  • The supply0 and supply1 nets can be used to model the power in a circuit. These nets shall have supply strengths.

​

supply1 VDD; //all nets are connected to power supply

​​​

supply0 GND; //all nets are connected to ground

supply ckt.png

 Verilog

module constant_inputs;
  supply1 VDD;
  supply0 GND;
  wire out;

  // Simple AND gate using supply nets
  and u1 (out, VDD, GND); // VDD & GND = 0
 
  initial
    $display
("out = %b", out);
endmodule

Output

out = 0

tri0 & tri1 nets
 

Abstract data type
 

© Copyright 2025 VLSI Mentor. All Rights Reserved.©

Connect with us

  • Instagram
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube
bottom of page