aboutsummaryrefslogtreecommitdiffstats
path: root/passes/pmgen/xilinx_dsp_CREG.pmg
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-10-05 08:56:37 -0700
committerEddie Hung <eddie@fpgeh.com>2019-10-05 08:56:37 -0700
commit991c2ca95bfac2bedd9fd622dbef15611021a8be (patch)
treed97236975007054d0c294c79420207efacf94a72 /passes/pmgen/xilinx_dsp_CREG.pmg
parentebb059896a55efacf1d90f78dbd25faff30969e2 (diff)
downloadyosys-991c2ca95bfac2bedd9fd622dbef15611021a8be.tar.gz
yosys-991c2ca95bfac2bedd9fd622dbef15611021a8be.tar.bz2
yosys-991c2ca95bfac2bedd9fd622dbef15611021a8be.zip
Add comment on why we have to match for clock-enable/reset muxes
Diffstat (limited to 'passes/pmgen/xilinx_dsp_CREG.pmg')
-rw-r--r--passes/pmgen/xilinx_dsp_CREG.pmg4
1 files changed, 3 insertions, 1 deletions
diff --git a/passes/pmgen/xilinx_dsp_CREG.pmg b/passes/pmgen/xilinx_dsp_CREG.pmg
index 3f8486406..2408d483a 100644
--- a/passes/pmgen/xilinx_dsp_CREG.pmg
+++ b/passes/pmgen/xilinx_dsp_CREG.pmg
@@ -105,7 +105,9 @@ endcode
// #######################
// Subpattern for matching against input registers, based on knowledge of the
-// 'Q' input.
+// 'Q' input. Typically, this task would be handled by other Yosys passes
+// such as dff2dffe, but since DSP inference happens much before this, these
+// patterns have to be manually identified.
// At a high level:
// (1) Starting from a $dff cell that (partially or fully) drives the given
// 'Q' argument