From 8da1faf310939d1f1e23971f5f014b7ae7761333 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 26 Feb 2015 19:00:43 +0100 Subject: [PATCH] mibuild: move identifier to platforms --- mibuild/platforms/kc705.py | 1 + mibuild/platforms/m1.py | 1 + mibuild/platforms/mixxeo.py | 1 + mibuild/platforms/papilio_pro.py | 1 + 4 files changed, 4 insertions(+) diff --git a/mibuild/platforms/kc705.py b/mibuild/platforms/kc705.py index 8f6c471a0..ee75de645 100644 --- a/mibuild/platforms/kc705.py +++ b/mibuild/platforms/kc705.py @@ -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" diff --git a/mibuild/platforms/m1.py b/mibuild/platforms/m1.py index cc1b619f5..5dfffb1c4 100644 --- a/mibuild/platforms/m1.py +++ b/mibuild/platforms/m1.py @@ -119,6 +119,7 @@ _io = [ ] class Platform(XilinxISEPlatform): + identifier = 0x4D31 default_clk_name = "clk50" default_clk_period = 20 def __init__(self): diff --git a/mibuild/platforms/mixxeo.py b/mibuild/platforms/mixxeo.py index df9eac850..4c5f0944c 100644 --- a/mibuild/platforms/mixxeo.py +++ b/mibuild/platforms/mixxeo.py @@ -155,6 +155,7 @@ _io = [ ] class Platform(XilinxISEPlatform): + identifier = 0x4D58 default_clk_name = "clk50" default_clk_period = 20 def __init__(self): diff --git a/mibuild/platforms/papilio_pro.py b/mibuild/platforms/papilio_pro.py index 0ccd8dd11..545b7518b 100644 --- a/mibuild/platforms/papilio_pro.py +++ b/mibuild/platforms/papilio_pro.py @@ -50,6 +50,7 @@ _connectors = [ ] class Platform(XilinxISEPlatform): + identifier = 0x5050 default_clk_name = "clk32" default_clk_period = 31.25 def __init__(self):