mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Disable support for SB_MAC16 reset since it is async
This commit is contained in:
parent
a59f80834f
commit
8cfcaf108e
|
@ -287,9 +287,9 @@ struct Ice40DspPass : public Pass {
|
||||||
log("cells into iCE40 DSP resources.\n");
|
log("cells into iCE40 DSP resources.\n");
|
||||||
log("Currently, only the 16x16 multiply mode is supported and not the 2 x 8x8 mode.\n");
|
log("Currently, only the 16x16 multiply mode is supported and not the 2 x 8x8 mode.\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log("Pack input registers (A, B, {C,D}; with optional hold/reset), pipeline registers\n");
|
log("Pack input registers (A, B, {C,D}; with optional hold), pipeline registers\n");
|
||||||
log("({F,J,K,G}, H; with shared reset), output registers (O; with optional hold/reset),\n");
|
log("({F,J,K,G}, H), output registers (O; with optional hold), and post-adder into\n");
|
||||||
log("and post-adder into the SB_MAC16 resource.\n");
|
log("into the SB_MAC16 resource.\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log("Multiply-accumulate operations using the post-adder with feedback on the {C,D}\n");
|
log("Multiply-accumulate operations using the post-adder with feedback on the {C,D}\n");
|
||||||
log("input will be folded into the DSP. In this scenario only, resetting the\n");
|
log("input will be folded into the DSP. In this scenario only, resetting the\n");
|
||||||
|
|
|
@ -384,6 +384,8 @@ code argQ argD
|
||||||
endcode
|
endcode
|
||||||
|
|
||||||
match ffrstmux
|
match ffrstmux
|
||||||
|
if false /* TODO: ice40 resets are actually async */
|
||||||
|
|
||||||
if !argD.empty()
|
if !argD.empty()
|
||||||
select ffrstmux->type.in($mux)
|
select ffrstmux->type.in($mux)
|
||||||
index <SigSpec> port(ffrstmux, \Y) === argD
|
index <SigSpec> port(ffrstmux, \Y) === argD
|
||||||
|
@ -487,6 +489,8 @@ code argD argQ
|
||||||
endcode
|
endcode
|
||||||
|
|
||||||
match ffrstmux
|
match ffrstmux
|
||||||
|
if false /* TODO: ice40 resets are actually async */
|
||||||
|
|
||||||
select ffrstmux->type.in($mux)
|
select ffrstmux->type.in($mux)
|
||||||
// ffrstmux output must have two users: ffrstmux and ff.D
|
// ffrstmux output must have two users: ffrstmux and ff.D
|
||||||
select nusers(port(ffrstmux, \Y)) == 2
|
select nusers(port(ffrstmux, \Y)) == 2
|
||||||
|
|
Loading…
Reference in a new issue