mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-29 01:24:25 +02:00
+1
-1
@@ -271,7 +271,7 @@ struct SimInstance
|
||||
{
|
||||
auto child = children.at(cell);
|
||||
for (auto &conn: cell->connections())
|
||||
if (cell->input(conn.first)) {
|
||||
if (cell->input(conn.first) && GetSize(conn.second)) {
|
||||
Const value = get_state(conn.second);
|
||||
child->set_state(child->module->wire(conn.first), value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user