boards/platforms/kc705: only keep Vivado support
There is no reason still using ISE on 7-Series.
This commit is contained in:
parent
53c7be6e46
commit
e1d202df02
|
@ -526,12 +526,8 @@ class Platform(XilinxPlatform):
|
||||||
default_clk_name = "clk156"
|
default_clk_name = "clk156"
|
||||||
default_clk_period = 6.4
|
default_clk_period = 6.4
|
||||||
|
|
||||||
def __init__(self, toolchain="vivado", programmer="vivado"):
|
def __init__(self, programmer="vivado"):
|
||||||
XilinxPlatform.__init__(self, "xc7k325t-ffg900-2", _io, _connectors,
|
XilinxPlatform.__init__(self, "xc7k325t-ffg900-2", _io, _connectors, toolchain="vivado")
|
||||||
toolchain=toolchain)
|
|
||||||
if toolchain == "ise":
|
|
||||||
self.toolchain.bitgen_opt = "-g LCK_cycle:6 -g Binary:Yes -w -g ConfigRate:12 -g SPI_buswidth:4"
|
|
||||||
elif toolchain == "vivado":
|
|
||||||
self.add_platform_command("""
|
self.add_platform_command("""
|
||||||
set_property CFGBVS VCCO [current_design]
|
set_property CFGBVS VCCO [current_design]
|
||||||
set_property CONFIG_VOLTAGE 2.5 [current_design]
|
set_property CONFIG_VOLTAGE 2.5 [current_design]
|
||||||
|
@ -545,8 +541,6 @@ set_property CONFIG_VOLTAGE 2.5 [current_design]
|
||||||
return XC3SProg("jtaghs1_fast", "bscan_spi_kc705.bit")
|
return XC3SProg("jtaghs1_fast", "bscan_spi_kc705.bit")
|
||||||
elif self.programmer == "vivado":
|
elif self.programmer == "vivado":
|
||||||
return VivadoProgrammer()
|
return VivadoProgrammer()
|
||||||
elif self.programmer == "impact":
|
|
||||||
return iMPACT()
|
|
||||||
else:
|
else:
|
||||||
raise ValueError("{} programmer is not supported".format(programmer))
|
raise ValueError("{} programmer is not supported".format(programmer))
|
||||||
|
|
||||||
|
@ -564,7 +558,4 @@ set_property CONFIG_VOLTAGE 2.5 [current_design]
|
||||||
self.add_period_constraint(self.lookup_request("eth_clocks").tx, 1e9/125e6)
|
self.add_period_constraint(self.lookup_request("eth_clocks").tx, 1e9/125e6)
|
||||||
except ConstraintError:
|
except ConstraintError:
|
||||||
pass
|
pass
|
||||||
if isinstance(self.toolchain, XilinxISEToolchain):
|
|
||||||
self.add_platform_command("CONFIG DCI_CASCADE = \"33 32 34\";")
|
|
||||||
else:
|
|
||||||
self.add_platform_command("set_property DCI_CASCADE {{32 34}} [get_iobanks 33]")
|
self.add_platform_command("set_property DCI_CASCADE {{32 34}} [get_iobanks 33]")
|
||||||
|
|
Loading…
Reference in New Issue