loose-electron
Senior Fellow
Offline
Best Design Tool = Capable Designers
Posts: 1638
San Diego California
|
> What is the proper syntax on parameter passing thru multiple levels of > hierarchy in Verilog-AMS structures?
> Ergo: > Module 1 calls module 2, > Module 2 calls module 3, > Module 3 calls module 4, > Module 4 calls module 5, > You have some "parameter real Vxxxx = XXX" statements down in module > 5, and you would like to use a parameter override up at the module 1 > level, to define the value. > For one level: > > Modulename #(.varaiblename(number)) moduleinstance(port1,port2,....); > > That works fine for one level of overide. > > The question is how to pass a variable thru multiple levels??? > > In the above example, module-1 needs to provide a parameter override > to module-5, and a graceful way of passing this down the hierarchy is needed. > > Thanks, > Jerry
|