liberty statetable auto dcl internal pins
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
5261a2a91b
commit
7091c00b1d
|
|
@ -2153,11 +2153,9 @@ LibertyReader::makeStatetable()
|
|||
LibertyPortSeq internal_ports;
|
||||
for (const string &internal : statetable_->internalPorts()) {
|
||||
LibertyPort *port = cell_->findLibertyPort(internal.c_str());
|
||||
if (port)
|
||||
if (port == nullptr)
|
||||
port = builder_.makePort(cell_, internal.c_str());
|
||||
internal_ports.push_back(port);
|
||||
else
|
||||
libWarn(0000, statetable_->line(), "statetable internal port %s not found.",
|
||||
internal.c_str());
|
||||
}
|
||||
cell_->makeStatetable(input_ports, internal_ports, statetable_->table());
|
||||
statetable_ = nullptr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue