Merge pull request #1186 from trabucayre/xilinx_symbiflow_zynq

litex/build/xilinx/symbiflow: adding zynq (010 & 020) support
This commit is contained in:
enjoy-digital 2022-01-27 20:07:36 +01:00 committed by GitHub
commit 4696e39560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -112,6 +112,8 @@ class SymbiflowToolchain:
"xc7a35ticsg324-1L" : "xc7a50t_test",
"xc7a100tcsg324-1" : "xc7a100t_test",
"xc7a200t-sbg484-1" : "xc7a200t_test",
"xc7z010clg400-1" : "xc7z010_test",
"xc7z020clg400-1" : "xc7z020_test",
}[platform.device]
except KeyError:
raise ValueError(f"symbiflow_device is not specified")
@ -121,6 +123,7 @@ class SymbiflowToolchain:
# available bitstream_devices: artix7, kintex7, zynq7
self.bitstream_device = {
"xc7a": "artix7", # xc7a35t, xc7a50t, xc7a100t, xc7a200t
"xc7z": "zynq7", # xc7z010, xc7z020
}[platform.device[:4]]
except KeyError:
raise ValueError(f"Unsupported device: {platform.device}")
@ -129,6 +132,8 @@ class SymbiflowToolchain:
"xc7a35ticsg324-1L" : "xc7a35tcsg324-1",
"xc7a100tcsg324-1" : "xc7a100tcsg324-1",
"xc7a200t-sbg484-1" : "xc7a200tsbg484-1",
"xc7z010clg400-1" : "xc7z010clg400-1",
"xc7z020clg400-1" : "xc7z020clg400-1",
}.get(platform.device, platform.device)
def _generate_makefile(self, platform, build_name):