mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-15 21:38:45 +00:00
Add comment on why we have to match for clock-enable/reset muxes
This commit is contained in:
parent
ebb059896a
commit
991c2ca95b
|
@ -441,7 +441,10 @@ endcode
|
||||||
// #######################
|
// #######################
|
||||||
|
|
||||||
// Subpattern for matching against input registers, based on knowledge of the
|
// Subpattern for matching against input registers, based on knowledge of the
|
||||||
// 'Q' input.
|
// 'Q' input. Typically, identifying registers with clock-enable and reset
|
||||||
|
// capability would be a 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:
|
// At a high level:
|
||||||
// (1) Starting from a $dff cell that (partially or fully) drives the given
|
// (1) Starting from a $dff cell that (partially or fully) drives the given
|
||||||
// 'Q' argument
|
// 'Q' argument
|
||||||
|
|
|
@ -105,7 +105,9 @@ endcode
|
||||||
// #######################
|
// #######################
|
||||||
|
|
||||||
// Subpattern for matching against input registers, based on knowledge of the
|
// 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:
|
// At a high level:
|
||||||
// (1) Starting from a $dff cell that (partially or fully) drives the given
|
// (1) Starting from a $dff cell that (partially or fully) drives the given
|
||||||
// 'Q' argument
|
// 'Q' argument
|
||||||
|
|
|
@ -298,7 +298,10 @@ endcode
|
||||||
// #######################
|
// #######################
|
||||||
|
|
||||||
// Subpattern for matching against input registers, based on knowledge of the
|
// Subpattern for matching against input registers, based on knowledge of the
|
||||||
// 'Q' input.
|
// 'Q' input. Typically, identifying registers with clock-enable and reset
|
||||||
|
// capability would be a 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:
|
// At a high level:
|
||||||
// (1) Starting from a $dff cell that (partially or fully) drives the given
|
// (1) Starting from a $dff cell that (partially or fully) drives the given
|
||||||
// 'Q' argument
|
// 'Q' argument
|
||||||
|
|
Loading…
Reference in a new issue