Hi while doing precheck i got error how to resolve...
# ieee-sscs-dc-22
a
Hi while doing precheck i got error how to resolve it please help me @mehdi @Mitch Bailey thank you
m
Looks like you need to copy your schematic spice to
netgen/user_analog_project_wrapper.spice
Does your
gds/user_analog_project_wrapper.gds
contain
user_analog_project_wrapper
?
a
thank you so much for the reply @Mitch Bailey followed by me : 1.creating the a dummy_inv with some resistor (with required numbers of pins) schematic file using xschem 2. making its symbol 3. inserted these symbols in the analog_wrapper_tb.sch(delete por symbol and insert the dummy_inv symbol and connect the pins according to my requirement )4.making layout of dummy_inv in magic and (checked the drc and lvs) 5.open the user_analog_project_wrapper_empty.mag file in magic and place the dummy cell inside it and connect the pins according the schematic diagram 6.Generate the spice file and mag file using these commands (gds read user_analog_project_wrapper.gds load user_analog_project_wrapper extract all ext2spice lvs ext2spice -o user_analog_project_wrapper.spice) and save the gds file into the gds dir using Write GDS (in magic ) 7.placed the .spice file into the netgen then i run the precheck command i have doubt regarding the generating the .spice file from the schematic because some pins are not connected anywhere . is it ok If i miss any thing please help me @Mitch Bailey thank you
m
Can you post your
user_analog_project_wrapper.spice
from xschem and
user_analog_project_wrapper.gds
and the extracted spice file?
a
m
How about the
user_analog_project_wrapper
from xschem?
a
sorry it is from the mag
*magic
m
When you netlist, be sure the
Simulation -> LVS netlist: top level is a .subckt
is checked.
a
i am really sorry i miss this point i corrected it and do the lvs check but i got the error no matching element ( may be due to resistor ) please help me @Mitch Bailey @mehdi @Tim Edwards Thank you
t
@Ashutosh Kumar: It appears that your schematic is using an ideal SPICE resistor and not a sky130 semiconductor resistor.
a
thank you so much for the reply @Tim Edwards i have check sky130 semiconductor resistor but i didn't find the sky130_fd_pr__res_generic_l1 should i use another one and replace at both place(schematic and layout ) thank you
t
No, you should use another one and change the name in the symbol instance (which is what makes xschem so easy to use!). e.g.,
res_generic_po.sym
is fine to use; the symbol properties contain the string used as the model name when writing SPICE, so you just need to change that text from
sky130_fd_pr__res_generic_po
to
sky130_fd_pr__res_generic_l1
.
a
thank you @Tim Edwards
Hi i got another issue : i didn't create pins like dummy_23 ,dummy_24 but it show in schematic file @Mitch Bailey @Tim Edwards @Stefan Schippers thank you