From 23065ac507f9b7b65f3f0dc4d866424ac959201c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 27 Jul 2018 10:09:59 +0100 Subject: [PATCH] use quart wrapper for quart --- src/bsv/peripheral_gen/quart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bsv/peripheral_gen/quart.py b/src/bsv/peripheral_gen/quart.py index 165de67..9b6b1e3 100644 --- a/src/bsv/peripheral_gen/quart.py +++ b/src/bsv/peripheral_gen/quart.py @@ -10,7 +10,7 @@ class quart(PBase): return "quart{0}_intr" def slowifdecl(self): - return "interface QUART_out quart{0};\n" + \ + return "interface QUART_AXI4_Lite_Ifc quart{0};\n" + \ "method Bit#(1) %s;" % self.irq_name() def get_clock_reset(self, name, count): @@ -21,7 +21,7 @@ class quart(PBase): def mkslow_peripheral(self, size=0): return "// XXX TODO: change to uart_clock/reset\n" + \ - "Uart16550_AXI4_Lite_Ifc quart{0} <- \n" + \ + "QUART_AXI4_Lite_Ifc quart{0} <- \n" + \ " mkUart16550(clocked_by sp_clock,\n" + \ " reset_by sp_reset, sp_clock, sp_reset);" -- 2.30.2