mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
mibuild: move identifier to platforms
This commit is contained in:
parent
e6a21b2305
commit
8da1faf310
4 changed files with 4 additions and 0 deletions
|
@ -348,6 +348,7 @@ def Platform(*args, toolchain="vivado", **kwargs):
|
|||
raise ValueError
|
||||
|
||||
class RealPlatform(xilinx_platform):
|
||||
identifier = 0x4B37
|
||||
default_clk_name = "clk156"
|
||||
default_clk_period = 6.4
|
||||
bitgen_opt = "-g LCK_cycle:6 -g Binary:Yes -w -g ConfigRate:12 -g SPI_buswidth:4"
|
||||
|
|
|
@ -119,6 +119,7 @@ _io = [
|
|||
]
|
||||
|
||||
class Platform(XilinxISEPlatform):
|
||||
identifier = 0x4D31
|
||||
default_clk_name = "clk50"
|
||||
default_clk_period = 20
|
||||
def __init__(self):
|
||||
|
|
|
@ -155,6 +155,7 @@ _io = [
|
|||
]
|
||||
|
||||
class Platform(XilinxISEPlatform):
|
||||
identifier = 0x4D58
|
||||
default_clk_name = "clk50"
|
||||
default_clk_period = 20
|
||||
def __init__(self):
|
||||
|
|
|
@ -50,6 +50,7 @@ _connectors = [
|
|||
]
|
||||
|
||||
class Platform(XilinxISEPlatform):
|
||||
identifier = 0x5050
|
||||
default_clk_name = "clk32"
|
||||
default_clk_period = 31.25
|
||||
def __init__(self):
|
||||
|
|
Loading…
Reference in a new issue