aboutsummaryrefslogtreecommitdiffstats
path: root/passes/pmgen
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-10-05 08:53:01 -0700
committerEddie Hung <eddie@fpgeh.com>2019-10-05 08:53:01 -0700
commitebb059896a55efacf1d90f78dbd25faff30969e2 (patch)
tree8a3cb3c6e6341bdcda53e55dff4be293c2aa73d4 /passes/pmgen
parent6c5e1234e19159b7577a5e64a7a463142160f7ff (diff)
downloadyosys-ebb059896a55efacf1d90f78dbd25faff30969e2.tar.gz
yosys-ebb059896a55efacf1d90f78dbd25faff30969e2.tar.bz2
yosys-ebb059896a55efacf1d90f78dbd25faff30969e2.zip
Add note on pattern detector
Diffstat (limited to 'passes/pmgen')
-rw-r--r--passes/pmgen/xilinx_dsp.pmg10
1 files changed, 7 insertions, 3 deletions
diff --git a/passes/pmgen/xilinx_dsp.pmg b/passes/pmgen/xilinx_dsp.pmg
index 77d4850d4..09d94ff4b 100644
--- a/passes/pmgen/xilinx_dsp.pmg
+++ b/passes/pmgen/xilinx_dsp.pmg
@@ -44,9 +44,13 @@
// DSP48E1 cells inferred from multiply operations by Yosys, as well as for
// user instantiations that may already contain the cells being packed...
// (though the latter is currently untested)
-// - Since the $dff-with-clock-enable-or-reset-mux pattern is used for each
-// *REG match, it has been factored out into two subpatterns: in_dffe
-// out_dffe located at the bottom of this file
+// - Since the $dff-with-optional-clock-enable-or-reset-mux pattern is used
+// for each *REG match, it has been factored out into two subpatterns:
+// in_dffe and out_dffe located at the bottom of this file.
+// - Matching for pattern detector features is currently incomplete. For
+// example, matching for underflow as well as overflow detection is
+// possible, as would auto-reset, enabling saturated arithmetic, detecting
+// custom patterns, etc.
pattern xilinx_dsp_pack