| Limbo
    | 
Describe the connection of pins to nets. More...
#include <VerilogDataBase.h>
| Classes | |
| union | Extension | 
| Extension to handle a net with constant values or a regular net.  More... | |
| Public Member Functions | |
| NetPin (std::string &n, std::string &p, Range const &r=Range()) | |
| constructor  More... | |
| NetPin (std::string &n, std::string &p, Range const &r, int c) | |
| constructor  More... | |
| NetPin (std::string &n, std::string &p, std::vector< GeneralName > &vNetName) | |
| constructor  More... | |
| NetPin (NetPin const &rhs) | |
| copy constructor  More... | |
| NetPin & | operator= (NetPin const &rhs) | 
| assignment  More... | |
| ~NetPin () | |
| destructor | |
| void | copy (NetPin const &rhs) | 
| copy function  More... | |
| Public Attributes | |
| std::string | net | 
| net name, reserved names VerilogParser::CONSTANT_NET, VerilogParser::GROUP_NETS | |
| std::string | pin | 
| pin name | |
| Range | range | 
| range of net | |
| union VerilogParser::NetPin::Extension | extension | 
| extension to handle a net with constant values or a regular net | |
Describe the connection of pins to nets.
NOR2_X1 u2 ( .a(n1), .b(n3), .o(n2) ); NOR2_X1 u2 ( .a(1'b1), .b(n3), .o(n2) ); // constant net NOR2_X1 u2 ( .a(n1), .b({n3, n4}), .o(n2) ); // group nets
Each of .a(n1), .b(n3) and .o(n2) generates an object of net and pin.
Definition at line 67 of file VerilogDataBase.h.
| 
 | inline | 
constructor
| n | net name | 
| p | pin name | 
| r | net range | 
Definition at line 83 of file VerilogDataBase.h.
| 
 | inline | 
constructor
| n | net name; it will be VerilogParser::CONSTANT_NET if the net is actually a value | 
| p | pin name | 
| r | net range | 
| c | constant value only valid if the net is a VerilogParser::CONSTANT_NET | 
Definition at line 94 of file VerilogDataBase.h.
| 
 | inline | 
constructor
| n | net name; it will be VerilogParser::GROUP_NETS if the net is actually a group of nets | 
| p | pin name | 
| vNetName | group of nets only valid if the net is a VerilogParser::GROUP_NETS | 
Definition at line 105 of file VerilogDataBase.h.
| 
 | inline | 
| 
 | inline | 
 1.8.8
 1.8.8