mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
experimenting with test_cell
This commit is contained in:
parent
fbdfff168b
commit
43d8c7f352
4 changed files with 35 additions and 15 deletions
|
@ -41,6 +41,10 @@ static void create_gold_module(RTLIL::Design *design, RTLIL::IdString cell_type,
|
|||
{
|
||||
RTLIL::Module *module = design->addModule(ID(gold));
|
||||
RTLIL::Cell *cell = module->addCell(ID(UUT), cell_type);
|
||||
for (auto para : cell->parameters)
|
||||
log("param %s is %s\n", para.first.c_str(), para.second.as_string().c_str());
|
||||
// for (auto para : cell->connections)
|
||||
// log("param %s is %s\n", para.first.c_str(), para.second.as_string());
|
||||
RTLIL::Wire *wire;
|
||||
|
||||
if (cell_type.in(ID($mux), ID($pmux)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue