.... and like, I know it's not a port, I'm trying to make it a port ...
✅ 1
t
Tim Edwards
10/11/2023, 6:51 PM
Command options like
port class
are queries. You need to start with the
port make
command (or use the Edit-->Text... menu dialog and click on the "port" checkbox when creating a label).
Tim Edwards
10/11/2023, 6:52 PM
port makeall
is a quick way to turn all labels into ports. Use with caution, as you might have labels that you don't want to be ports.
Tim Edwards
10/11/2023, 6:55 PM
The most convenient way to create ports, though, is to use the
readspice
command with a valid netlist. That command will parse the netlist and compare all labels against ports of the
.subckt
matching the cell name, and create ports accordingly, indexed to match the port order of the netlist. If you happen to have a LEF view of the cell, you can read that with
lef read
and it will further annotate the ports with class and direction taken from the LEF view (although LEF files do not indicate a port order).
t
tnt
10/11/2023, 6:57 PM
Thanks yeah, I had figured the
port make
eventually but good to know about the rest.
In this case it was really just about creating a simple place holder design with the right ports at the right position but none of the actual logic yet 🙂
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.