mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
kernel: use more ID::*
This commit is contained in:
parent
164dd0f6b2
commit
fdafb74eb7
69 changed files with 843 additions and 841 deletions
|
@ -29,8 +29,8 @@ struct EvalDemoPass : public Pass
|
|||
if (module == nullptr)
|
||||
log_error("No top module found!\n");
|
||||
|
||||
Wire *wire_a = module->wire("\\A");
|
||||
Wire *wire_y = module->wire("\\Y");
|
||||
Wire *wire_a = module->wire(ID::A);
|
||||
Wire *wire_y = module->wire(ID::Y);
|
||||
|
||||
if (wire_a == nullptr)
|
||||
log_error("No wire A found!\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue