From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 14:10:44 +0000 (+0100) Subject: altered quart to use standard get/put mkConnection X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bda6087c475f664a943dd9749789f7d8965b90c;p=pinmux.git altered quart to use standard get/put mkConnection --- diff --git a/src/bsv/peripheral_gen/quart.py b/src/bsv/peripheral_gen/quart.py index cc0f311..ef5650f 100644 --- a/src/bsv/peripheral_gen/quart.py +++ b/src/bsv/peripheral_gen/quart.py @@ -21,16 +21,16 @@ class quart(PBase): return "quart{0}.slave_axi_uart" def pinname_out(self, pname): - return {'tx' : 'coe_rs232.modem_output_stx', - 'rts': 'coe_rs232.modem_output_rts', + return {'tx' : 'coe_rs232.stx_out', + 'rts': 'coe_rs232.rts_out', }.get(pname, '') def _pinname_in(self, pname): - return {'rx': 'coe_rs232.modem_input.srx', - 'cts': 'coe_rs232.modem_input.cts' + return {'rx': 'coe_rs232.srx_in', + 'cts': 'coe_rs232.cts_in' }.get(pname, '') - def mk_pincon(self, name, count): + def __disabled_mk_pincon(self, name, count): ret = [PBase.mk_pincon(self, name, count)] ret.append(" rule con_%s%d_io_in;" % (name, count)) ret.append(" {0}{1}.coe_rs232.modem_input(".format(name, count))