platforms/crosslink_nx_evn/vip: add default_clk.
This commit is contained in:
parent
f3ccd140c2
commit
ac075f18c7
|
@ -246,6 +246,9 @@ serial_pmods = [
|
||||||
# Platform -----------------------------------------------------------------------------------------
|
# Platform -----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class Platform(LatticePlatform):
|
class Platform(LatticePlatform):
|
||||||
|
default_clk_name = "clk12"
|
||||||
|
default_clk_period = 1e9/12e6
|
||||||
|
|
||||||
def __init__(self, device="LIFCL", **kwargs):
|
def __init__(self, device="LIFCL", **kwargs):
|
||||||
assert device in ["LIFCL"]
|
assert device in ["LIFCL"]
|
||||||
LatticePlatform.__init__(self, device + "-40-9BG400C", _io, _connectors, toolchain="radiant", **kwargs)
|
LatticePlatform.__init__(self, device + "-40-9BG400C", _io, _connectors, toolchain="radiant", **kwargs)
|
||||||
|
|
|
@ -199,6 +199,9 @@ _connectors = [
|
||||||
# Platform -----------------------------------------------------------------------------------------
|
# Platform -----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class Platform(LatticePlatform):
|
class Platform(LatticePlatform):
|
||||||
|
default_clk_name = "clk12"
|
||||||
|
default_clk_period = 1e9/12e6
|
||||||
|
|
||||||
def __init__(self, device="LIFCL", **kwargs):
|
def __init__(self, device="LIFCL", **kwargs):
|
||||||
assert device in ["LIFCL"]
|
assert device in ["LIFCL"]
|
||||||
LatticePlatform.__init__(self, device + "-40-9BG400C", _io, _connectors, toolchain="radiant", **kwargs)
|
LatticePlatform.__init__(self, device + "-40-9BG400C", _io, _connectors, toolchain="radiant", **kwargs)
|
||||||
|
|
Loading…
Reference in New Issue