Can I connect multiple ports to only one signal? e.g. in schematic I want to connect io_analog[4] an...
h
Can I connect multiple ports to only one signal? e.g. in schematic I want to connect io_analog[4] and io_analog[3] to one signal, how would the netlist look like? I am trying to use the user_analog_project_wrapper to wrap up my design, but there are some multi-ports-to-one-signal issues... not sure this is the right way to wrap up my design....
t
Multiple nets to one signal should be done using a metal resistor such as
sky130_fd_pr__res_generic_m1
, which is just a piece of metal that is treated like a resistor device, and so breaks the net. The device corresponds to layer
rmetal1
in magic, so you can have a 1:1 correspondence between the device in schematic and layout. In xschem, if the generic resistor device doesn't exist, you can use the
res_generic_m1.sym
and change the model name in the parameters as needed. The other way to handle it is to insert a zero-ohm ideal resistor or a zero-volt independent voltage source to break the net. The netgen LVS tool knows how to deal with these components. In magic, using
ext2spice short resistor
will separate different port names that are connected to the same net with a zero-ohm resistor.
🙌 1
c
... and how do you get component signals plotted?
analog_wrapper_tb
barfs at me at the moment when I try it.