Skip to content

Commit

Permalink
dsp48e1 architecture xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-astra-et-ultra committed Jun 27, 2023
1 parent 6eeff8f commit 105be45
Show file tree
Hide file tree
Showing 38 changed files with 4,034 additions and 26 deletions.
5 changes: 0 additions & 5 deletions xilinx/common/primitives/dsp48e1/dsp48e1.model.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
<port name="RSTALUMODE"/>
<port name="RSTINMODE"/>
<port is_clock="1" name="CLK"/>
<port name="ACIN"/>
<port name="BCIN"/>
<port name="PCIN"/>
<port name="CARRYCASCIN"/>
<port name="MULTSIGNIN"/>
</input_ports>
<output_ports>
<port name="ACOUT"/>
Expand Down
38 changes: 32 additions & 6 deletions xilinx/common/primitives/dsp48e1/dsp48e1.pb_type.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<pb_type name="DSP48E1" num_pb="1" blif_model=".subckt DSP48E1_VPR">
<pb_type name="DSP48E1" num_pb="1" xmlns:xi="http://www.w3.org/2001/XInclude">
<clock name="CLK" num_pins="1"/>
<input name="A" num_pins="30"/>
<input name="B" num_pins="18"/>
Expand Down Expand Up @@ -32,11 +32,6 @@
<input name="RSTALLCARRYIN" num_pins="1"/>
<input name="RSTALUMODE" num_pins="1"/>
<input name="RSTINMODE" num_pins="1"/>
<input name="ACIN" num_pins="30"/>
<input name="BCIN" num_pins="18"/>
<input name="PCIN" num_pins="48"/>
<input name="CARRYCASCIN" num_pins="1"/>
<input name="MULTSIGNIN" num_pins="1"/>
<output name="ACOUT" num_pins="30"/>
<output name="BCOUT" num_pins="18"/>
<output name="PCOUT" num_pins="48"/>
Expand All @@ -48,6 +43,28 @@
<output name="PATTERNBDETECT" num_pins="1"/>
<output name="OVERFLOW" num_pins="1"/>
<output name="UNDERFLOW" num_pins="1"/>
<mode name="DSP">
<pb_type name="DSP" num_pb="1" blif_model=".subckt DSP48E1_VPR">

<xi:include href="../dual_b_reg/dual_b_reg.pb_type.xml"/>
<xi:include href="../dual_ad_preadder/dual_ad_preadder.pb_type.xml"/>
<xi:include href="../mult25x18/mult25x18.pb_type.xml"/>
<xi:include href="../mreg/mreg.pb_type.xml"/>
<xi:include href="../creg/creg.pb_type.xml"/>
<xi:include href="../xmux/xmux.pb_type.xml"/>
<xi:include href="../ymux/ymux.pb_type.xml"/>
<xi:include href="../zmux/zmux.pb_type.xml"/>
<xi:include href="../alu/alu.pb_type.xml"/>
<xi:include href="../inmode_reg/inmode_reg.pb_type.xml"/>
<xi:include href="../opmode_reg/opmode_reg.pb_type.xml"/>
<xi:include href="../carryinsel_reg/carryinsel_reg.pb_type.xml"/>
<xi:include href="../alumode_reg/alumode_reg.pb_type.xml"/>
<xi:include href="..//.pb_type.xml"/>
<xi:include href="..//.pb_type.xml"/>

<interconnect>

</interconnect>
<metadata>
<meta name="fasm_params">
AREG_0=AREG_0
Expand All @@ -70,3 +87,12 @@ ZIS_OPMODE_INVERTED[6:0]=IS_OPMODE_INVERTED
</meta>
</metadata>
</pb_type>
<interconnect>

</interconnect>
</mode>
<metadata>
<meta name="type">block</meta>
<meta name="subtype">ignore</meta>
</metadata>
</pb_type>
Loading

0 comments on commit 105be45

Please sign in to comment.