zedboard: compress bitstream, derive default clk f
This commit is contained in:
parent
166451e65e
commit
43a1e13b53
|
@ -206,6 +206,9 @@ class Platform(XilinxPlatform):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
XilinxPlatform.__init__(self, "xc7z020clg484-1", _io, _connectors, toolchain="vivado")
|
XilinxPlatform.__init__(self, "xc7z020clg484-1", _io, _connectors, toolchain="vivado")
|
||||||
|
self.toolchain.bitstream_commands = \
|
||||||
|
["set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]", ]
|
||||||
|
self.default_clk_freq = 1e9 / self.default_clk_period
|
||||||
|
|
||||||
def create_programmer(self):
|
def create_programmer(self):
|
||||||
return OpenOCD(config="board/digilent_zedboard.cfg")
|
return OpenOCD(config="board/digilent_zedboard.cfg")
|
||||||
|
|
Loading…
Reference in New Issue