mirror of
https://github.com/YosysHQ/yosys
synced 2025-12-30 15:59:53 +00:00
newcelltypes: test against builtin_ff_cell_types
This commit is contained in:
parent
299d64ad9f
commit
92543c5bfe
1 changed files with 3 additions and 0 deletions
|
|
@ -30,6 +30,9 @@ TEST(CellTypesTest, basic)
|
|||
std::cout << i << " " << type.str() << "\n";
|
||||
EXPECT_EQ(older.cell_known(type), newer.cell_known(type));
|
||||
|
||||
if (RTLIL::builtin_ff_cell_types().count(type) != StaticCellTypes::categories.is_ff(type))
|
||||
std::cout << i << " " << type.str() << "\n";
|
||||
EXPECT_EQ(RTLIL::builtin_ff_cell_types().count(type), StaticCellTypes::categories.is_ff(type));
|
||||
}
|
||||
yosys_shutdown();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue