add bus.err to list of default Wishbone signals in Tercel
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 29 Mar 2022 19:43:10 +0000 (20:43 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 29 Mar 2022 19:43:10 +0000 (20:43 +0100)
src/soc/bus/tercel.py

index bbf7cfe6dc71a13f7cdbeff8f44b2bd00e537719..102218236a5faa2830ff8e83395798fc741b7aa2 100644 (file)
@@ -50,7 +50,7 @@ class Tercel(Elaboratable):
 
         # set up the wishbone busses
         if features is None:
-            features = frozenset()
+            features = frozenset({'err'})
         if bus is None:
             bus = Interface(addr_width=spi_region_addr_width,
                             data_width=data_width,
@@ -138,6 +138,7 @@ class Tercel(Elaboratable):
                             i_wishbone_stb=bus.stb,
                             i_wishbone_cyc=bus.cyc,
                             o_wishbone_ack=bus.ack,
+                            o_wishbone_err=bus.err,
 
                             # Configuration region Wishbone bus signals
                             i_cfg_wishbone_adr=cfg_bus.adr,
@@ -148,6 +149,7 @@ class Tercel(Elaboratable):
                             i_cfg_wishbone_stb=cfg_bus.stb,
                             i_cfg_wishbone_cyc=cfg_bus.cyc,
                             o_cfg_wishbone_ack=cfg_bus.ack,
+                            o_cfg_wishbone_err=cfg_bus.err,
 
                             # QSPI signals
                             o_spi_d_out=self.dq_out,