From: Werner Almesberger Date: Fri, 12 Apr 2013 00:37:28 +0000 (-0300) Subject: mibuild: define memory card pins of the Milkymist One platorm X-Git-Tag: 24jan2021_ls180~2099^2~443^2~41 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59d64e92e84239ab444c44c8a91af6a5ccd07291;p=litex.git 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 --- 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")),