digilent_cmod_a7: Propagate variant and toolchain
This commit is contained in:
parent
296c99f065
commit
bccbd95526
|
@ -63,8 +63,11 @@ class Platform(XilinxPlatform):
|
||||||
default_clk_name = "clk12"
|
default_clk_name = "clk12"
|
||||||
default_clk_period = 1e9/12e6
|
default_clk_period = 1e9/12e6
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self, variant="a7-35", toolchain="vivado"):
|
||||||
XilinxPlatform.__init__(self, "xc7a35t-cpg236-1", _io, _connectors, toolchain="vivado")
|
device = {
|
||||||
|
"a7-35": "xc7a35t-cpg236-1"
|
||||||
|
}[variant]
|
||||||
|
XilinxPlatform.__init__(self, device, _io, _connectors, toolchain=toolchain)
|
||||||
|
|
||||||
def do_finalize(self,fragment):
|
def do_finalize(self,fragment):
|
||||||
XilinxPlatform.do_finalize(self, fragment)
|
XilinxPlatform.do_finalize(self, fragment)
|
||||||
|
|
Loading…
Reference in New Issue