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)