Ports don't appear in LVS export from hierarchical...
# magic
g
I have a doubt regarding the right way to set ports in a cell made with a hierarchical design. I have an AND cell made from a NAND cell plus an INVERTER cell. In the top level I connected the NAND output to the inverter input and made three ports: A and B as inputs in correspondence of NAND inputs and a OUT port in correspondence of the inverter output. I exported this design with the commands: 1) export all 2) ext2spice lvs 3) ext2spice -d My problem is I don't see any port in the AND subcircuit made from the layout. My questions: 1) What I have to do in order to make appear the ports in the subcircuit ? 2) Have I to put something else in the top level, example metal and contact, in correspondence of port label in order to make appear the port ?
t
Posting a layout or screenshot (preferably layout) would help. However, the simple answer is: Yes, you need to declare ports specifically. Works best if you just use the text GUI from "Edit->Text..." and then check the box that says "Port: enable". But if you have a layout that already has non-port labels, then just turn each one into a port by putting the cursor box around the label area and typing the command
port make
. Do this in the order that you want the ports to be output in the netlist (to match the port order of any schematic you might have).
g
I made a label and then link a port with the command: port make <index>.
If I later check selecting the label and using the command : port index
I find the correct port index.
So port seems to be created.
t
Post a layout.
g
ok give me a while ...
Here another layout more complex (4 Bit P-G network) with the same problem.
1.png
Look at GND port on top layer.
1_mod.png
This is the bottom layer with ground track.
2.png
t
When I say "post a layout", I mean "post a layout", not "post a screenshot of a layout".
g
Here the layout the screenshots are referring to.
t
The problem is that you have labels "VDD" and "GND", but there is no material in the top level cell under the labels, so they are not attached to anything. If you want them to be attached to metal1 without any material underneath in the same cell, then you need to select the "sticky" checkbox in the text helper dialog window, and enter "metal1" in the entry box after "Attach to layer:"
I think only the "GND" label is incorrect.
g
I solved my issue. Thanks for the help.
i
Copy code
Hello, I am doing something similar, the simulation in xschem and the one in Magic theoretically have to work well but in magic there are many details from the thickness of the wiring the way to put the labels the way the cables cross, sometimes parasitic capacities are generated after the LVS there is one last test that must be done: the extraction of parasitic capabilities is carried out and at the end a Post-layout simulation Create a test harness around the netlist with parasitic which is a .sp file
<http://web02.gonzaga.edu/faculty/talarico/vlsi/13_magic_inverter_sky130.pdf> In that document the procedure is explained, I hope it helps you