tnt
10/10/2023, 10:47 PMport in magic but I get "The selected label is not a port" when trying to do port GND class input use power .... and like, I know it's not a port, I'm trying to make it a port ...Tim Edwards
10/11/2023, 6:51 PMport 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 PMport 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 PMreadspice 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).tnt
10/11/2023, 6:57 PMport 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 🙂