Fixed typo in RTLIL::Module::addAdff()
authorClifford Wolf <clifford@clifford.at>
Mon, 17 Mar 2014 13:41:41 +0000 (14:41 +0100)
committerClifford Wolf <clifford@clifford.at>
Mon, 17 Mar 2014 13:41:41 +0000 (14:41 +0100)
kernel/rtlil.cc

index 2b28f3232a19f86824e78c409a3970430c416d09..1d53bc79ba20f97c552e77551bec9bf39bd0943c 100644 (file)
@@ -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;