3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-28 19:35:53 +00:00

Added additional functionality and cleanups in sigtools.h and celltypes.h

This commit is contained in:
Clifford Wolf 2013-03-15 10:22:23 +01:00
parent 3377a04bf2
commit 89f009d171
2 changed files with 33 additions and 0 deletions

View file

@ -29,6 +29,15 @@ struct CellTypes
std::set<std::string> cell_types;
std::vector<const RTLIL::Design*> designs;
CellTypes()
{
}
CellTypes(const RTLIL::Design *design)
{
setup(design);
}
void setup(const RTLIL::Design *design = NULL)
{
if (design)