From cd8c2e980da6440182c148b0582d633f2f3d3af3 Mon Sep 17 00:00:00 2001 From: occheung Date: Fri, 7 Aug 2020 16:12:28 +0800 Subject: [PATCH] humpback: fixed syntax --- nmigen/humpback.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nmigen/humpback.py b/nmigen/humpback.py index 5072b7b..a040f60 100644 --- a/nmigen/humpback.py +++ b/nmigen/humpback.py @@ -84,8 +84,9 @@ class HumpbackPlatform(LatticeICE40Platform): "d7_n" : "F3", "d7_p" : "G3", }), + # EEM1 Connection Interface - Connector("eem", 1, + Connector("eem", 1, { "d0_cc_n": "L3", "d0_cc_p": "L6", "d1_n": "F1", @@ -105,7 +106,7 @@ class HumpbackPlatform(LatticeICE40Platform): }), # EEM2 Connection Interface - Connector("eem", 2, + Connector("eem", 2, { "d0_cc_n": "G1", "d0_cc_p": "J5", "d1_n": "M2", @@ -125,7 +126,7 @@ class HumpbackPlatform(LatticeICE40Platform): }), # STM32 Connection Pins - Connector("stm32", "GPIO", { + Connector("stm32", "pin", { "PA0": "A2", "PA1": "P14", "PA2": "B8",