aboutsummaryrefslogtreecommitdiffstats
path: root/passes/pmgen/ice40_dsp.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-07-22 16:37:13 -0700
committerEddie Hung <eddie@fpgeh.com>2019-07-22 16:37:13 -0700
commit33c984a0445b2bb24081adf324b2254c454266d1 (patch)
tree30dff8e0b076ae1b33b60180099116cad7d182dc /passes/pmgen/ice40_dsp.cc
parentcb505c50d3572a0622110b31b950b43cffc995db (diff)
downloadyosys-33c984a0445b2bb24081adf324b2254c454266d1.tar.gz
yosys-33c984a0445b2bb24081adf324b2254c454266d1.tar.bz2
yosys-33c984a0445b2bb24081adf324b2254c454266d1.zip
Fix spacing
Diffstat (limited to 'passes/pmgen/ice40_dsp.cc')
-rw-r--r--passes/pmgen/ice40_dsp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/pmgen/ice40_dsp.cc b/passes/pmgen/ice40_dsp.cc
index 6b6fd5640..f365ae8b6 100644
--- a/passes/pmgen/ice40_dsp.cc
+++ b/passes/pmgen/ice40_dsp.cc
@@ -174,9 +174,9 @@ void create_ice40_dsp(ice40_dsp_pm &pm)
bool accum = false;
if (st.addAB) {
if (st.addA)
- accum = (st.ffO_lo && st.ffO_hi && st.addAB->getPort("\\B") == O);
+ accum = (st.ffO_lo && st.ffO_hi && st.addAB->getPort("\\B") == O);
else if (st.addB)
- accum = (st.ffO_lo && st.ffO_hi && st.addAB->getPort("\\A") == O);
+ accum = (st.ffO_lo && st.ffO_hi && st.addAB->getPort("\\A") == O);
else log_abort();
if (accum)
log(" accumulator %s (%s)\n", log_id(st.addAB), log_id(st.addAB->type));