mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
remove DSP48 references
This commit is contained in:
parent
f57b624281
commit
e5bdc9b5c9
|
@ -16,8 +16,7 @@
|
||||||
|
|
||||||
|
|
||||||
// This file describes the main pattern matcher setup (of three total) that
|
// This file describes the main pattern matcher setup (of three total) that
|
||||||
// forms the `mchp_dsp` pass described in mchp_dsp.cc - version for
|
// forms the `mchp_dsp` pass described in mchp_dsp.cc
|
||||||
// DSP48A/DSP48A1 (Spartan 3A DSP, Spartan 6).
|
|
||||||
// At a high level, it works as follows:
|
// At a high level, it works as follows:
|
||||||
// ( 1) Starting from a DSP cell. Capture DSP configurations as states
|
// ( 1) Starting from a DSP cell. Capture DSP configurations as states
|
||||||
// ( 2) Match for pre-adder
|
// ( 2) Match for pre-adder
|
||||||
|
|
|
@ -125,7 +125,6 @@ code
|
||||||
if (c.wire->get_bool_attribute(\keep))
|
if (c.wire->get_bool_attribute(\keep))
|
||||||
reject;
|
reject;
|
||||||
// Abandon matches when 'Q' has a non-zero init attribute set
|
// Abandon matches when 'Q' has a non-zero init attribute set
|
||||||
// (not supported by DSP48E1)
|
|
||||||
Const init = c.wire->attributes.at(\init, Const());
|
Const init = c.wire->attributes.at(\init, Const());
|
||||||
if (!init.empty())
|
if (!init.empty())
|
||||||
for (auto b : init.extract(c.offset, c.width))
|
for (auto b : init.extract(c.offset, c.width))
|
||||||
|
|
Loading…
Reference in a new issue