From 0b81b52b57ea58c56820791baea9b200bdcdecc1 Mon Sep 17 00:00:00 2001 From: Neel Date: Sat, 21 Jul 2018 17:18:25 +0530 Subject: [PATCH] correct sdmmc dummy names --- src/bsv/peripheral_gen.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bsv/peripheral_gen.py b/src/bsv/peripheral_gen.py index 0939293..eee4cf7 100644 --- a/src/bsv/peripheral_gen.py +++ b/src/bsv/peripheral_gen.py @@ -350,14 +350,16 @@ class sdmmc(PBase): return "sd{0}.slave" def pinname_in(self, pname): - return "out.%s_in" % pname + return "%s_in" % pname def pinname_out(self, pname): - return "out.%s_out" % pname + if pname.startswith('d'): + return "%s_out" % pname + return pname def pinname_outen(self, pname): if pname.startswith('d'): - return "out.%s_outen" % pname + return "%s_outen" % pname class spi(PBase): -- 2.30.2