In BlifParser, revert gnd! and vdd! to vss and vdd.
This commit is contained in:
parent
c7b8902c77
commit
59917680cb
|
@ -412,12 +412,12 @@ namespace {
|
|||
else {
|
||||
cmess2 << " " << tab++ << "+ " << cell->getName() << " [.model]" << endl;
|
||||
|
||||
Net* vss = Net::create ( _cell, "gnd!" );
|
||||
Net* vss = Net::create ( _cell, "vss" );
|
||||
vss->setExternal( true );
|
||||
vss->setGlobal ( true );
|
||||
vss->setType ( Net::Type::GROUND );
|
||||
|
||||
Net* vdd = Net::create ( _cell, "vdd!" );
|
||||
Net* vdd = Net::create ( _cell, "vdd" );
|
||||
vdd->setExternal( true );
|
||||
vdd->setGlobal ( true );
|
||||
vdd->setType ( Net::Type::POWER );
|
||||
|
@ -722,7 +722,7 @@ namespace CRL {
|
|||
, tokenize.lineno()
|
||||
) << endl;
|
||||
//blifModel->mergeAlias( blifLine[1], "vss" );
|
||||
blifModel->getCell()->getNet( "gnd!" )->addAlias( blifLine[1] );
|
||||
blifModel->getCell()->getNet( "vss" )->addAlias( blifLine[1] );
|
||||
} else if (tokenize.state() & Tokenize::CoverOne ) {
|
||||
cerr << Warning( "Blif::load() Definition of an alias <%s> of VDD in a \".names\". Maybe you should use tie cells?\n"
|
||||
" File \"%s.blif\" at line %u."
|
||||
|
@ -731,7 +731,7 @@ namespace CRL {
|
|||
, tokenize.lineno()
|
||||
) << endl;
|
||||
//blifModel->mergeAlias( blifLine[1], "vdd" );
|
||||
blifModel->getCell()->getNet( "vdd!" )->addAlias( blifLine[1] );
|
||||
blifModel->getCell()->getNet( "vdd" )->addAlias( blifLine[1] );
|
||||
} else {
|
||||
cerr << Error( "Blif::load() Unsupported \".names\" cover construct.\n"
|
||||
" File \"%s.blif\" at line %u."
|
||||
|
|
Loading…
Reference in New Issue