Merge pull request #1186 from trabucayre/xilinx_symbiflow_zynq
litex/build/xilinx/symbiflow: adding zynq (010 & 020) support
This commit is contained in:
commit
4696e39560
|
@ -112,6 +112,8 @@ class SymbiflowToolchain:
|
||||||
"xc7a35ticsg324-1L" : "xc7a50t_test",
|
"xc7a35ticsg324-1L" : "xc7a50t_test",
|
||||||
"xc7a100tcsg324-1" : "xc7a100t_test",
|
"xc7a100tcsg324-1" : "xc7a100t_test",
|
||||||
"xc7a200t-sbg484-1" : "xc7a200t_test",
|
"xc7a200t-sbg484-1" : "xc7a200t_test",
|
||||||
|
"xc7z010clg400-1" : "xc7z010_test",
|
||||||
|
"xc7z020clg400-1" : "xc7z020_test",
|
||||||
}[platform.device]
|
}[platform.device]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise ValueError(f"symbiflow_device is not specified")
|
raise ValueError(f"symbiflow_device is not specified")
|
||||||
|
@ -121,6 +123,7 @@ class SymbiflowToolchain:
|
||||||
# available bitstream_devices: artix7, kintex7, zynq7
|
# available bitstream_devices: artix7, kintex7, zynq7
|
||||||
self.bitstream_device = {
|
self.bitstream_device = {
|
||||||
"xc7a": "artix7", # xc7a35t, xc7a50t, xc7a100t, xc7a200t
|
"xc7a": "artix7", # xc7a35t, xc7a50t, xc7a100t, xc7a200t
|
||||||
|
"xc7z": "zynq7", # xc7z010, xc7z020
|
||||||
}[platform.device[:4]]
|
}[platform.device[:4]]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise ValueError(f"Unsupported device: {platform.device}")
|
raise ValueError(f"Unsupported device: {platform.device}")
|
||||||
|
@ -129,6 +132,8 @@ class SymbiflowToolchain:
|
||||||
"xc7a35ticsg324-1L" : "xc7a35tcsg324-1",
|
"xc7a35ticsg324-1L" : "xc7a35tcsg324-1",
|
||||||
"xc7a100tcsg324-1" : "xc7a100tcsg324-1",
|
"xc7a100tcsg324-1" : "xc7a100tcsg324-1",
|
||||||
"xc7a200t-sbg484-1" : "xc7a200tsbg484-1",
|
"xc7a200t-sbg484-1" : "xc7a200tsbg484-1",
|
||||||
|
"xc7z010clg400-1" : "xc7z010clg400-1",
|
||||||
|
"xc7z020clg400-1" : "xc7z020clg400-1",
|
||||||
}.get(platform.device, platform.device)
|
}.get(platform.device, platform.device)
|
||||||
|
|
||||||
def _generate_makefile(self, platform, build_name):
|
def _generate_makefile(self, platform, build_name):
|
||||||
|
|
Loading…
Reference in New Issue