mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Fix UB
This commit is contained in:
parent
690b1a064d
commit
63431fe42a
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ match cemux
|
|||
endmatch
|
||||
|
||||
code
|
||||
SigSpec &D = cemux->connections_.at(cemuxAB == \A ? \B : \A);
|
||||
SigSpec &Q = dff->connections_.at(\Q);
|
||||
SigSpec D = port(cemux, cemuxAB == \A ? \B : \A);
|
||||
SigSpec Q = port(dff, \Q);
|
||||
Const rst;
|
||||
if (rstmux)
|
||||
rst = port(rstmux, rstmuxBA).as_const();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue