mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-28 08:58:45 +00:00
Make scopeinfo not default
This commit is contained in:
parent
e093ac5bca
commit
6795c32167
1 changed files with 7 additions and 7 deletions
|
@ -58,7 +58,7 @@ void map_sigspec(const dict<RTLIL::Wire*, RTLIL::Wire*> &map, RTLIL::SigSpec &si
|
||||||
struct FlattenWorker
|
struct FlattenWorker
|
||||||
{
|
{
|
||||||
bool ignore_wb = false;
|
bool ignore_wb = false;
|
||||||
bool create_scopeinfo = true;
|
bool create_scopeinfo = false; // SILIMATE: default false
|
||||||
bool create_scopename = false;
|
bool create_scopename = false;
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
|
@ -331,12 +331,12 @@ struct FlattenPass : public Pass {
|
||||||
log(" -wb\n");
|
log(" -wb\n");
|
||||||
log(" Ignore the 'whitebox' attribute on cell implementations.\n");
|
log(" Ignore the 'whitebox' attribute on cell implementations.\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -noscopeinfo\n");
|
log(" -scopeinfo\n");
|
||||||
log(" Do not create '$scopeinfo' cells that preserve attributes of cells and\n");
|
log(" Create '$scopeinfo' cells that preserve attributes of cells and\n");
|
||||||
log(" modules that were removed during flattening. With this option, the\n");
|
log(" modules that were removed during flattening. Without this option, the\n");
|
||||||
log(" 'src' attribute of a given cell is merged into all objects replacing\n");
|
log(" 'src' attribute of a given cell is merged into all objects replacing\n");
|
||||||
log(" that cell, with multiple distinct 'src' locations separated by '|'.\n");
|
log(" that cell, with multiple distinct 'src' locations separated by '|'.\n");
|
||||||
log(" Without this option these 'src' locations can be found via the\n");
|
log(" With this option these 'src' locations can be found via the\n");
|
||||||
log(" cell_src' and 'module_src' attribute of '$scopeinfo' cells.\n");
|
log(" cell_src' and 'module_src' attribute of '$scopeinfo' cells.\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -scopename\n");
|
log(" -scopename\n");
|
||||||
|
@ -359,8 +359,8 @@ struct FlattenPass : public Pass {
|
||||||
worker.ignore_wb = true;
|
worker.ignore_wb = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-noscopeinfo") {
|
if (args[argidx] == "-scopeinfo") {
|
||||||
worker.create_scopeinfo = false;
|
worker.create_scopeinfo = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-scopename") {
|
if (args[argidx] == "-scopename") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue