add mkslow_peripherals
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 20 Jul 2018 06:56:41 +0000 (07:56 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 20 Jul 2018 06:56:41 +0000 (07:56 +0100)
src/bsv/bsv_lib/slow_peripherals_template.bsv

index 3bd94be6b31ed4e5611866a5c97f6b8d22b222a4..7b6f2d9eb38f334dca3a6438acf2fb2290e27278 100644 (file)
@@ -103,9 +103,10 @@ package slow_peripherals;
     Wire#(Bit#(32)) wr_interrupt <- mkWire();
                /*=======================================================*/
 
-       AXI4_Lite_Fabric_IFC #(1, Num_Slow_Slaves, `PADDR, `Reg_width,`USERSPACE)       slow_fabric <- 
-                                                            mkAXI4_Lite_Fabric(fn_address_mapping);
-               Ifc_AXI4Lite_AXI4_Bridge bridge <-mkAXI4Lite_AXI4_Bridge(fast_clock,fast_reset);
+       AXI4_Lite_Fabric_IFC #(1, Num_Slow_Slaves, `PADDR, `Reg_width,`USERSPACE)
+            slow_fabric <- mkAXI4_Lite_Fabric(fn_address_mapping);
+               Ifc_AXI4Lite_AXI4_Bridge
+            bridge<-mkAXI4Lite_AXI4_Bridge(fast_clock,fast_reset);
        
                mkConnection (bridge.axi4_lite_master,  slow_fabric.v_from_masters [0]);
                /*======= Slave connections to AXI4Lite fabric =========*/