aboutsummaryrefslogtreecommitdiffstats
path: root/passes/pmgen
diff options
context:
space:
mode:
authorScott Thibault <sathibault@yahoo.com>2022-02-01 20:30:31 -0500
committerMarcelina Koƛcielnicka <mwk@0x04.net>2022-02-02 03:21:09 +0100
commit0a6e2bd5d51025b83d4ff7474e65dd2decf673d5 (patch)
tree2e7c145c69b8f5385d220a12f13de5bfcf0bba77 /passes/pmgen
parente04ac4e9e9658d80aa125332ec538f16f5f0f0c1 (diff)
downloadyosys-0a6e2bd5d51025b83d4ff7474e65dd2decf673d5.tar.gz
yosys-0a6e2bd5d51025b83d4ff7474e65dd2decf673d5.tar.bz2
yosys-0a6e2bd5d51025b83d4ff7474e65dd2decf673d5.zip
Update comment
Diffstat (limited to 'passes/pmgen')
-rw-r--r--passes/pmgen/ice40_dsp.pmg2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/pmgen/ice40_dsp.pmg b/passes/pmgen/ice40_dsp.pmg
index 378f251c0..4de479122 100644
--- a/passes/pmgen/ice40_dsp.pmg
+++ b/passes/pmgen/ice40_dsp.pmg
@@ -28,7 +28,7 @@ code sigA sigB sigH
for (i = GetSize(sig)-1; i > 0; i--)
if (sig[i] != sig[i-1])
break;
- // Do not remove non-const sign bit
+ // Do not remove sign bit
++i;
return sig.extract(0, i);
};