mirror of https://github.com/YosysHQ/yosys.git
Copy attributes from state signal to fsm cell
This commit is contained in:
parent
9c955c4c17
commit
a7988c01af
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue