diff --git a/kernel/celltypes.h b/kernel/celltypes.h index 3167a9add..04edc20e6 100644 --- a/kernel/celltypes.h +++ b/kernel/celltypes.h @@ -31,6 +31,8 @@ struct CellType bool is_evaluable; bool is_combinatorial; bool is_synthesizable; + bool is_builtin_ff; + bool is_formal; }; struct CellTypes @@ -58,9 +60,11 @@ struct CellTypes setup_stdcells_mem(); } - void setup_type(RTLIL::IdString type, const pool &inputs, const pool &outputs, bool is_evaluable = false, bool is_combinatorial = false, bool is_synthesizable = false) + void setup_type(RTLIL::IdString type, const pool &inputs, const pool &outputs, + bool is_evaluable = false, bool is_combinatorial = false, bool is_synthesizable = false, + bool is_builtin_ff = false, bool is_formal = false) { - CellType ct = {type, inputs, outputs, is_evaluable, is_combinatorial, is_synthesizable}; + CellType ct = {type, inputs, outputs, is_evaluable, is_combinatorial, is_synthesizable, is_builtin_ff, is_formal}; cell_types[ct.type] = ct; }