mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-30 07:53:16 +00:00
xilinx: consider DSP48E1.ADREG
This commit is contained in:
parent
512596760b
commit
7b543fdb0c
4 changed files with 8 additions and 5 deletions
|
@ -3231,7 +3231,7 @@ module DSP48E1 (
|
|||
endfunction
|
||||
|
||||
generate
|
||||
if (PREG == 0 && MREG == 0 && AREG == 0)
|
||||
if (PREG == 0 && MREG == 0 && AREG == 0 && ADREG == 0)
|
||||
specify
|
||||
(A *> P) = \A.P.comb ();
|
||||
(A *> PCOUT) = \A.PCOUT.comb ();
|
||||
|
@ -3264,7 +3264,7 @@ module DSP48E1 (
|
|||
$setup(C, negedge CLK &&& IS_CLK_INVERTED, \C.required () );
|
||||
endspecify
|
||||
|
||||
if (PREG == 0 && MREG == 0 && DREG == 0)
|
||||
if (PREG == 0 && MREG == 0 && ADREG == 0 && DREG == 0)
|
||||
specify
|
||||
(D *> P) = \D.P.comb ();
|
||||
(D *> PCOUT) = \D.PCOUT.comb ();
|
||||
|
@ -3286,7 +3286,7 @@ module DSP48E1 (
|
|||
$setup(PCIN, negedge CLK &&& IS_CLK_INVERTED, USE_PATTERN_DETECT != "NO_PATDET" ? 1315 : 1025);
|
||||
endspecify
|
||||
|
||||
if (PREG || AREG || BREG || CREG || DREG || MREG)
|
||||
if (PREG || AREG || ADREG || BREG || CREG || DREG || MREG)
|
||||
specify
|
||||
if (!IS_CLK_INVERTED && CEP) (posedge CLK => (P : 48'bx)) = \P.arrival () ;
|
||||
if ( IS_CLK_INVERTED && CEP) (negedge CLK => (P : 48'bx)) = \P.arrival () ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue