diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-01-17 16:08:04 -0800 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-01-17 16:08:04 -0800 |
commit | db68e4c2a7a39eda46863fba8b8c8313a831f606 (patch) | |
tree | d969a7e9f4638036ea791f68255b61986261c511 /passes/pmgen/ice40_dsp.cc | |
parent | e17f3f8c63603746ad3aa33e9900d91e9b86db39 (diff) | |
download | yosys-db68e4c2a7a39eda46863fba8b8c8313a831f606.tar.gz yosys-db68e4c2a7a39eda46863fba8b8c8313a831f606.tar.bz2 yosys-db68e4c2a7a39eda46863fba8b8c8313a831f606.zip |
ice40_dsp: fix typo
Diffstat (limited to 'passes/pmgen/ice40_dsp.cc')
-rw-r--r-- | passes/pmgen/ice40_dsp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/pmgen/ice40_dsp.cc b/passes/pmgen/ice40_dsp.cc index 202a43f0c..c364cd91a 100644 --- a/passes/pmgen/ice40_dsp.cc +++ b/passes/pmgen/ice40_dsp.cc @@ -73,11 +73,11 @@ void create_ice40_dsp(ice40_dsp_pm &pm) // SB_MAC16 Input Interface SigSpec A = st.sigA; - A.extend_u0(16, st.mul->connections_.at(ID(A_SIGNED), State::S0).as_bool()); + A.extend_u0(16, st.mul->parameters.at(ID(A_SIGNED), State::S0).as_bool()); log_assert(GetSize(A) == 16); SigSpec B = st.sigB; - B.extend_u0(16, st.mul->connections_.at(ID(B_SIGNED), State::S0).as_bool()); + B.extend_u0(16, st.mul->parameters.at(ID(B_SIGNED), State::S0).as_bool()); log_assert(GetSize(B) == 16); SigSpec CD = st.sigCD; |