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 {
|
else {
|
||||||
cmess2 << " " << tab++ << "+ " << cell->getName() << " [.model]" << endl;
|
cmess2 << " " << tab++ << "+ " << cell->getName() << " [.model]" << endl;
|
||||||
|
|
||||||
Net* vss = Net::create ( _cell, "gnd!" );
|
Net* vss = Net::create ( _cell, "vss" );
|
||||||
vss->setExternal( true );
|
vss->setExternal( true );
|
||||||
vss->setGlobal ( true );
|
vss->setGlobal ( true );
|
||||||
vss->setType ( Net::Type::GROUND );
|
vss->setType ( Net::Type::GROUND );
|
||||||
|
|
||||||
Net* vdd = Net::create ( _cell, "vdd!" );
|
Net* vdd = Net::create ( _cell, "vdd" );
|
||||||
vdd->setExternal( true );
|
vdd->setExternal( true );
|
||||||
vdd->setGlobal ( true );
|
vdd->setGlobal ( true );
|
||||||
vdd->setType ( Net::Type::POWER );
|
vdd->setType ( Net::Type::POWER );
|
||||||
|
@ -722,7 +722,7 @@ namespace CRL {
|
||||||
, tokenize.lineno()
|
, tokenize.lineno()
|
||||||
) << endl;
|
) << endl;
|
||||||
//blifModel->mergeAlias( blifLine[1], "vss" );
|
//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 ) {
|
} 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"
|
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."
|
" File \"%s.blif\" at line %u."
|
||||||
|
@ -731,7 +731,7 @@ namespace CRL {
|
||||||
, tokenize.lineno()
|
, tokenize.lineno()
|
||||||
) << endl;
|
) << endl;
|
||||||
//blifModel->mergeAlias( blifLine[1], "vdd" );
|
//blifModel->mergeAlias( blifLine[1], "vdd" );
|
||||||
blifModel->getCell()->getNet( "vdd!" )->addAlias( blifLine[1] );
|
blifModel->getCell()->getNet( "vdd" )->addAlias( blifLine[1] );
|
||||||
} else {
|
} else {
|
||||||
cerr << Error( "Blif::load() Unsupported \".names\" cover construct.\n"
|
cerr << Error( "Blif::load() Unsupported \".names\" cover construct.\n"
|
||||||
" File \"%s.blif\" at line %u."
|
" File \"%s.blif\" at line %u."
|
||||||
|
|
Loading…
Reference in New Issue