@User is there a way to have multiple schematic views behind a symbol?
My specific use case is I've got a VCO circuit and I also have a behavioural model of it to speed up system simulation.
Is there a way to set a parameter in the symbol (or config file) to use the behavioural model for netlisting?
s
Stefan Schippers
07/30/2020, 12:14 AM
@yrrapt
Yes, you can set 'schematic=vco2.sch' in the 'vco.sym' symbol global
properties to associate 'vco2.sch' to the symbol, instead of the default
'vco.sch'.
I have put a video tutorial showing the flow, simulating a simple inverter at switch level and behavioral level using 2 different schematics.
Stefan Schippers
07/30/2020, 12:17 AM
@yrrapt another option is to set 'type=primitive' in the symbol global attributes and ensuring no 'verilog_format' attribute is set. In this case the netlister will simply output the symbol instantiation in parent schematic but will not expand the schematic definition of the symbol. It's up to you to provide or `include some code to define the symbol.
Stefan Schippers
07/30/2020, 12:39 AM
@yrrapt in the future i would like also to allow a 'schematic=xxx.sch' in an instance placement of a symbol. This implies that more instantiations of the same symbol could refer to different schematic implementations. This is a form of symbol overloading and needs some non trivial changes in the netlister code to avoid naming conflicts. But I will be there one day :-)
👍 1
y
yrrapt
07/30/2020, 7:14 AM
Perfect, thank you. I will give it a go, sounds like a couple good options to try