xilinx/simbiflow: add simple symbiflow_device re-mapping.
This commit is contained in:
parent
5104d07a13
commit
af928b2626
|
@ -163,6 +163,12 @@ class SymbiflowToolchain:
|
||||||
|
|
||||||
def _check_properties(self, platform):
|
def _check_properties(self, platform):
|
||||||
if not self.symbiflow_device:
|
if not self.symbiflow_device:
|
||||||
|
try:
|
||||||
|
self.symbiflow_device = {
|
||||||
|
# FIXME: fine for now since only a few devices are supported, do more clever device re-mapping.
|
||||||
|
"xc7a35ticsg324-1L" : "xc7a50t_test",
|
||||||
|
}[platform.device]
|
||||||
|
except KeyError:
|
||||||
raise ValueError(f"symbiflow_device is not specified")
|
raise ValueError(f"symbiflow_device is not specified")
|
||||||
if not self.bitstream_device:
|
if not self.bitstream_device:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue