Fixed typo in RTLIL::Module::addAdff()

This commit is contained in:
Clifford Wolf 2014-03-17 14:41:41 +01:00
parent 0b0dcfda7d
commit e164edc8d1
1 changed files with 1 additions and 1 deletions

View 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;