It is possible for the get_name_index() method to be called before the get_name() method, so need to handle that case.
The signal bit numbering should be used for signals. This is necessary for .model ports because the user specified numbers are part of the interface, but once that is done, it is trivial to follow it internally as well.
This starts the handling of various logic gates.
Add the -tblif code generator target, and include some basic useful behavior.