mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Merge pull request #1703 from YosysHQ/eddie/specify_improve
Improve specify parser
This commit is contained in:
commit
760096e8d2
8 changed files with 170 additions and 52 deletions
|
@ -1417,11 +1417,19 @@ bool dump_cell_expr(std::ostream &f, std::string indent, RTLIL::Cell *cell)
|
|||
decimal = 1;
|
||||
|
||||
f << ", ";
|
||||
dump_const(f, cell->getParam("\\T_LIMIT"));
|
||||
dump_const(f, cell->getParam("\\T_LIMIT_MIN"));
|
||||
f << ": ";
|
||||
dump_const(f, cell->getParam("\\T_LIMIT_TYP"));
|
||||
f << ": ";
|
||||
dump_const(f, cell->getParam("\\T_LIMIT_MAX"));
|
||||
|
||||
if (spec_type == "$setuphold" || spec_type == "$recrem" || spec_type == "$fullskew") {
|
||||
f << ", ";
|
||||
dump_const(f, cell->getParam("\\T_LIMIT2"));
|
||||
dump_const(f, cell->getParam("\\T_LIMIT2_MIN"));
|
||||
f << ": ";
|
||||
dump_const(f, cell->getParam("\\T_LIMIT2_TYP"));
|
||||
f << ": ";
|
||||
dump_const(f, cell->getParam("\\T_LIMIT2_MAX"));
|
||||
}
|
||||
|
||||
f << ");\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue