aboutsummaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-02-21 09:15:17 -0800
committerGitHub <noreply@github.com>2020-02-21 09:15:17 -0800
commit760096e8d2e9e2431bd5f97034bbd4ba01326649 (patch)
treef19ca177b826e856b117f9812900959dc4d6f14e /backends
parentcd044a2bb6adf7a5e00d4a6c075e9489d852d733 (diff)
parentea4bd161b68cda30b5300b9275ebc0723896be02 (diff)
downloadyosys-760096e8d2e9e2431bd5f97034bbd4ba01326649.tar.gz
yosys-760096e8d2e9e2431bd5f97034bbd4ba01326649.tar.bz2
yosys-760096e8d2e9e2431bd5f97034bbd4ba01326649.zip
Merge pull request #1703 from YosysHQ/eddie/specify_improve
Improve specify parser
Diffstat (limited to 'backends')
-rw-r--r--backends/verilog/verilog_backend.cc12
1 files changed, 10 insertions, 2 deletions
diff --git a/backends/verilog/verilog_backend.cc b/backends/verilog/verilog_backend.cc
index 682c47a1f..19541f1c4 100644
--- a/backends/verilog/verilog_backend.cc
+++ b/backends/verilog/verilog_backend.cc
@@ -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";