From: Luke Kenneth Casson Leighton Date: Thu, 22 Mar 2018 05:11:25 +0000 (+0000) Subject: no longer use *interface_def, spi and jtag remove Bit#(1), is this ok? X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=976642ef4ff6fc521516d08fcdef3bc55cb5c872;p=pinmux.git no longer use *interface_def, spi and jtag remove Bit#(1), is this ok? --- diff --git a/src/pinmux_generator.py b/src/pinmux_generator.py index eeb0c06..3d05526 100644 --- a/src/pinmux_generator.py +++ b/src/pinmux_generator.py @@ -214,13 +214,13 @@ with open("./bsv_src/pinmux.bsv", "w") as bsv_file: for i in range(0, N_UART): bsv_file.write(uartinterface_decl.ifacedef(i)) for i in range(0, N_SPI): - bsv_file.write(spiinterface_def.format(i)) + bsv_file.write(spiinterface_decl.ifacedef(i)) for i in range(0, N_TWI): bsv_file.write(twiinterface_decl.ifacedef(i)) for i in range(0, N_SD): bsv_file.write(sdinterface_decl.ifacedef(i)) for i in range(0, N_JTAG): - bsv_file.write(jtaginterface_def.format(i)) + bsv_file.write(jtaginterface_decl.ifacedef(i)) for i in range(0, N_PWM): bsv_file.write(pwminterface_decl.ifacedef(i)) bsv_file.write(footer)