From e5bdc9b5c9cf4c25050eed2a3aba7f67e1271b5f Mon Sep 17 00:00:00 2001 From: Chun Lin Min Date: Wed, 3 Jul 2024 07:20:29 -0700 Subject: [PATCH] remove DSP48 references --- passes/pmgen/mchp_dsp.pmg | 3 +-- passes/pmgen/mchp_dsp_CREG.pmg | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/passes/pmgen/mchp_dsp.pmg b/passes/pmgen/mchp_dsp.pmg index 2580d64b4..41acf8c4e 100644 --- a/passes/pmgen/mchp_dsp.pmg +++ b/passes/pmgen/mchp_dsp.pmg @@ -16,8 +16,7 @@ // This file describes the main pattern matcher setup (of three total) that -// forms the `mchp_dsp` pass described in mchp_dsp.cc - version for -// DSP48A/DSP48A1 (Spartan 3A DSP, Spartan 6). +// forms the `mchp_dsp` pass described in mchp_dsp.cc // At a high level, it works as follows: // ( 1) Starting from a DSP cell. Capture DSP configurations as states // ( 2) Match for pre-adder diff --git a/passes/pmgen/mchp_dsp_CREG.pmg b/passes/pmgen/mchp_dsp_CREG.pmg index 043a40617..114201073 100644 --- a/passes/pmgen/mchp_dsp_CREG.pmg +++ b/passes/pmgen/mchp_dsp_CREG.pmg @@ -125,7 +125,6 @@ code if (c.wire->get_bool_attribute(\keep)) reject; // Abandon matches when 'Q' has a non-zero init attribute set - // (not supported by DSP48E1) Const init = c.wire->attributes.at(\init, Const()); if (!init.empty()) for (auto b : init.extract(c.offset, c.width))