3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-03 22:43:57 +00:00

Use fast path for 32-bit Const integer constructor in more places

This commit is contained in:
Robert O'Callahan 2025-08-29 03:34:17 +00:00
parent 9ad83cc67b
commit 1a367b907c
6 changed files with 10 additions and 9 deletions

View file

@ -82,7 +82,7 @@ void create_ice40_dsp(ice40_dsp_pm &pm)
SigSpec CD = st.sigCD;
if (CD.empty())
CD = RTLIL::Const(0, 32);
CD = RTLIL::Const(0);
else
log_assert(GetSize(CD) == 32);