Skip to content

Commit

Permalink
Fixup: Use elif instead of if.
Browse files Browse the repository at this point in the history
  • Loading branch information
bl0x committed Jan 17, 2023
1 parent 2d6f311 commit 338cd33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions amaranth/vendor/xilinx.py
Expand Up @@ -358,11 +358,11 @@ def symbiflow_part(self):
def symbiflow_bitstream_device(self):
if self._part.startswith("xc7a"):
return "artix7"
if self._part.startswith("xc7k"):
elif self._part.startswith("xc7k"):
return "kintex7"
if self._part.startswith("xc7z"):
elif self._part.startswith("xc7z"):
return "zynq7"
if self._part.startswith("xc7s"):
elif self._part.startswith("xc7s"):
return "spartan7"
else:
print("Unknown bitstream device for part {}".format(self._part))
Expand Down

0 comments on commit 338cd33

Please sign in to comment.