summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-03-17 14:41:41 +0100
committerClifford Wolf <clifford@clifford.at>2014-03-17 14:41:41 +0100
commite164edc8d11356c0999c44dfdb52d0b2b337f212 (patch)
treeb95f89eb633efef28982719df2eab5aab4989e30 /kernel
parent0b0dcfda7d6a860713e67f3a0c50f6636be687d5 (diff)
Fixed typo in RTLIL::Module::addAdff()
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rtlil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc
index 2b28f323..1d53bc79 100644
--- a/kernel/rtlil.cc
+++ b/kernel/rtlil.cc
@@ -1096,7 +1096,7 @@ RTLIL::Cell* RTLIL::Module::addAdff(RTLIL::IdString name, RTLIL::SigSpec sig_clk
{
RTLIL::Cell *cell = new RTLIL::Cell;
cell->name = name;
- cell->type = "$dffsr";
+ cell->type = "$adff";
cell->parameters["\\CLK_POLARITY"] = clk_polarity;
cell->parameters["\\ARST_POLARITY"] = arst_polarity;
cell->parameters["\\ARST_VALUE"] = arst_value;