mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-01 03:41:22 +00:00
Fix compile error
This commit is contained in:
parent
a206aed977
commit
fb568ddb4e
1 changed files with 2 additions and 2 deletions
|
@ -224,11 +224,11 @@ void create_ice40_dsp(ice40_dsp_pm &pm)
|
||||||
pm.autoremove(st.ffH);
|
pm.autoremove(st.ffH);
|
||||||
pm.autoremove(st.addAB);
|
pm.autoremove(st.addAB);
|
||||||
if (st.ffO_lo) {
|
if (st.ffO_lo) {
|
||||||
SigSpec O = st.sigO.extract(0,GetSize(st.ffO_lo));
|
SigSpec O = st.sigO.extract(0,st.ffO_lo->getParam("\\WIDTH").as_int());
|
||||||
st.ffO_lo->connections_.at("\\Q").replace(O, pm.module->addWire(NEW_ID, GetSize(O)));
|
st.ffO_lo->connections_.at("\\Q").replace(O, pm.module->addWire(NEW_ID, GetSize(O)));
|
||||||
}
|
}
|
||||||
if (st.ffO_hi) {
|
if (st.ffO_hi) {
|
||||||
SigSpec O = st.sigO.extract(16,GetSize(st.ffo_hi));
|
SigSpec O = st.sigO.extract(16,st.ffO_hi->getParam("\\WIDTH").as_int());
|
||||||
st.ffO_hi->connections_.at("\\Q").replace(O, pm.module->addWire(NEW_ID, GetSize(O)));
|
st.ffO_hi->connections_.at("\\Q").replace(O, pm.module->addWire(NEW_ID, GetSize(O)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue