Skip to content

Commit

Permalink
Merge pull request #1170 from Xilinx/feature/v80
Browse files Browse the repository at this point in the history
Add v80
  • Loading branch information
auphelia authored Aug 22, 2024
2 parents 793656b + 380d2ac commit 33c4153
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ def _resolve_impl_style(self, dsp_block):
weight_width = self.get_input_datatype(1).bitwidth()

if dsp_block == "DSP58":
return "mvu_vvu_8sx9_dsp58"
if act_width <= 4 and weight_width <= 4:
return "mvu_4sx4u_dsp48e2"
else:
return "mvu_vvu_8sx9_dsp58"
else:
if act_width <= 4 and weight_width <= 4:
if dsp_block == "DSP48E1":
Expand Down
8 changes: 4 additions & 4 deletions src/finn/util/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,10 @@ def memutil(req_mem_spec, primitive_spec):

def is_versal(fpgapart):
"""Returns whether board is part of the Versal family"""
return (
fpgapart[0:4] in ["xcvc", "xcve", "xcvp", "xcvm", "xqvc", "xqvm"]
or fpgapart[0:5] == "xqrvc"
)
return fpgapart[0:4] in ["xcvc", "xcve", "xcvp", "xcvm", "xqvc", "xqvm"] or fpgapart[0:5] in [
"xqrvc",
"xcv80",
]


def get_dsp_block(fpgapart):
Expand Down

0 comments on commit 33c4153

Please sign in to comment.