From 59d64e92e84239ab444c44c8a91af6a5ccd07291 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 11 Apr 2013 21:37:28 -0300 Subject: [PATCH] mibuild: define memory card pins of the Milkymist One platorm This patch adds the memory card pins to the M1 platform definition in mibuild. I've tentatively named them "mmc". As far as I can tell, "MMC" is not trademarked ("MultiMediaCard" the new "eMMC" would be), and "MMC" is commonly used in the industry in a descriptive way to refer to this sort of interface. The original Verilog-based M1 calls the interface "mc", but since several names have changed between milkymist and -ng, I thought I'd use a more familiar name. Usage example (clock signal divided by powers of two on the MMC TPs): https://github.com/wpwrak/ming-ddc-debug/blob/counter-on-mmc/build.py - Werner --- mibuild/platforms/m1.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mibuild/platforms/m1.py b/mibuild/platforms/m1.py index 5273441a..cc29a02f 100644 --- a/mibuild/platforms/m1.py +++ b/mibuild/platforms/m1.py @@ -83,6 +83,13 @@ _io = [ IOStandard("LVCMOS33") ), + ("mmc", 0, + Subsignal("clk", Pins("A10")), + Subsignal("cmd", Pins("B18")), + Subsignal("dat", Pins("A18", "E16", "C17", "A17")), + IOStandard("LVCMOS33") + ), + # Digital video mixer extension board ("dvi_in", 0, Subsignal("clk", Pins("A20")), -- 2.30.2