Copy attributes from state signal to fsm cell

This commit is contained in:
Clifford Wolf 2013-01-05 11:44:47 +01:00
parent 9c955c4c17
commit a7988c01af
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ static void extract_fsm(RTLIL::Wire *wire)
fsm_cell->connections["\\CTRL_IN"] = ctrl_in;
fsm_cell->connections["\\CTRL_OUT"] = ctrl_out;
fsm_cell->parameters["\\NAME"] = RTLIL::Const(wire->name);
fsm_cell->attributes = wire->attributes;
fsm_data.copy_to_cell(fsm_cell);
module->cells[fsm_cell->name] = fsm_cell;