Skip to content

Commit

Permalink
mibuild: move identifier to platforms
Browse files Browse the repository at this point in the history
enjoy-digital committed Feb 26, 2015
1 parent e6a21b2 commit 8da1faf
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions mibuild/platforms/kc705.py
Original file line number Diff line number Diff line change
@@ -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"
1 change: 1 addition & 0 deletions mibuild/platforms/m1.py
Original file line number Diff line number Diff line change
@@ -119,6 +119,7 @@
]

class Platform(XilinxISEPlatform):
identifier = 0x4D31
default_clk_name = "clk50"
default_clk_period = 20
def __init__(self):
1 change: 1 addition & 0 deletions mibuild/platforms/mixxeo.py
Original file line number Diff line number Diff line change
@@ -155,6 +155,7 @@
]

class Platform(XilinxISEPlatform):
identifier = 0x4D58
default_clk_name = "clk50"
default_clk_period = 20
def __init__(self):
1 change: 1 addition & 0 deletions mibuild/platforms/papilio_pro.py
Original file line number Diff line number Diff line change
@@ -50,6 +50,7 @@
]

class Platform(XilinxISEPlatform):
identifier = 0x5050
default_clk_name = "clk32"
default_clk_period = 31.25
def __init__(self):

0 comments on commit 8da1faf

Please sign in to comment.