0
module inst();                                                                                                                                                                                                 
    supply1 sp1;
    supply1 sp2;
    top top1(.p1(sp1));
    top top2(.p1(sp2));
endmodule

Can be a few supply1 nets in verilog code? If yes, what is the meaning?

Graham
  • 7,431
  • 18
  • 59
  • 84
karen.nik98
  • 59
  • 1
  • 4

1 Answers1

1

As far as digital logic is concerned, there is no difference between 5V supply and a 3.3V supply. But you may want to give them separate names for clarity, and you can also do simple low power simulations by forcing some of the supply1 nets to 0. You could not do that if you only delcared one supply1 net.

dave_59
  • 39,096
  • 3
  • 24
  • 63