From 976642ef4ff6fc521516d08fcdef3bc55cb5c872 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 22 Mar 2018 05:11:25 +0000 Subject: [PATCH] no longer use *interface_def, spi and jtag remove Bit#(1), is this ok? --- src/pinmux_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2