aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2022-12-21 14:24:10 +0100
committerJannis Harder <me@jix.one>2023-01-11 18:07:16 +0100
commit5042600c0d3adeae9ad7e936e92d4bf7ccff3e53 (patch)
tree165da5efba4120b999fa3522bf3a56d0918a9136 /kernel
parent673ad561b8cf75abdafd9afb3d44edf0edf1f1e1 (diff)
downloadyosys-5042600c0d3adeae9ad7e936e92d4bf7ccff3e53.tar.gz
yosys-5042600c0d3adeae9ad7e936e92d4bf7ccff3e53.tar.bz2
yosys-5042600c0d3adeae9ad7e936e92d4bf7ccff3e53.zip
xprop, setundef: Mark xprop decoding bwmuxes, exclude them from setundef
This adds the xprop_decoder attribute to bwmuxes that drive the original unencoded signals. Setundef is changed to ignore the x inputs of these bwmuxes, so that they survive the prep script of SBY's formal flow. This is required to make simulation (via sim) using the prep model show the decoded x signals instead of 0/1 values made up by the solver.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/constids.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/constids.inc b/kernel/constids.inc
index 239381f85..39211d0c7 100644
--- a/kernel/constids.inc
+++ b/kernel/constids.inc
@@ -259,5 +259,6 @@ X(WR_PORTS)
X(WR_PRIORITY_MASK)
X(WR_WIDE_CONTINUATION)
X(X)
+X(xprop_decoder)
X(Y)
X(Y_WIDTH)