JC
09/04/2023, 6:16 PMprimative
(maybe v3.0.0 uses that) . I have made sure the .sym and .sch order matches the .spice file and use .include to load the parasitic spice file. During the start of the simulation, ngspice complains about Dynamic gmin fails but after a while it continued simulating. Checking online, it says a GND symbol is supposed to be used but I have that connected to the circuit. What way would you recommend if I want to send the files over for you to reproduce the issue?Stefan Schippers
09/06/2023, 9:10 AMWu Yang
09/06/2023, 5:08 PMWu Yang
09/06/2023, 8:57 PMStefan Schippers
09/07/2023, 10:17 PMtype
attribute from subcircuit
to primitive
, since you intend to replace the schematic with the extracted netlist. Symbols with type=primitive will not be expanded, so you just provide the extracted netlist, and avoid having two subcircuits, one from the schematic expansion and one from the extracted netlist.
2. `JC_EESPFAL/Guard_ring_adiabatic/EESPFAL_s0_G_VDD.sch`: added Guard_ring_adiabatic/
prefix to all instances as this is the correct reference for the XOR/NOR/NAND sub blocks.
3. `JC_EESPFAL/Test/bitfour_EESPFAL_switch_flat.spice`: this parasitic netlist has lot of capacitors attached to a vsubs
node. This node is not attached to anything, so it is a dangling node. I assume this must be connected to node 0 (or GND if you like, they are equivalent). I have added this line: vvsubs vsubs 0 0
to connect vsubs to 0.
4. `JC_EESPFAL/Test/TEST_EESPFAL_post.sch`: I have added a SPICE2
code block where I only run a OP analysis just to see if netlist is OK. The SPICE1
code block is disabled with a spice_ignore=true
attribute. You can delete the SPICE2
instance and enable again SPICE1
by setting spice_ignore=false
or deleting completely this attribute.
5. I have created a xschemrc
file in the top directory. Edit this file and change the definition of PDK_ROOT according to your installation. Start xschem from the top directory (JC_EESPFAL_stef)
6. In my zip file I have included a differences.txt
file showing in detail the changes. Ignore the "xschem version" differences since these are due to the different xschem version I used.JC
09/08/2023, 2:16 PMtype=primative
is a version 3.0.0 bug?Stefan Schippers
09/09/2023, 6:29 AMtype=primitive
tells xschem the symbol should not be expanded as a subcircuit, even if there is a corresponding schematic for that symbol. This feature is present also in 3.0.0 version. When you provide an extracted netlist for a subcircuit you should change the type
attribute of the symbol from subcircuit
to primitive
.