lcapy.netfile.NetfileMixin
- class lcapy.netfile.NetfileMixin
Bases:
objectThis parses netlist files for Netlist and Schematic.
Methods
add(string)Add a component to the netlist.
Return name of last added component.
netfile_add(pathname)Add the nets from file with specified pathname
- add(string)
Add a component to the netlist. The general form is: ‘Name Np Nm args’ where Name is the component name, Np is the positive node, and Nm is the negative node.
A positive current is defined to flow from the positive node to the negative node.
This returns the added component.
- last_added()
Return name of last added component.
- netfile_add(pathname)
Add the nets from file with specified pathname