cleanup soc template
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 28 Jul 2018 05:10:12 +0000 (06:10 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 28 Jul 2018 05:10:12 +0000 (06:10 +0100)
src/bsv/bsv_lib/fast_tuple2_template.bsv
src/bsv/bsv_lib/soc_template.bsv

index 0ee905f3ce738094690b71097a2bd5fc048fde48..6d50157dcb9012420e1d29598ad643e53eb4ca82 100644 (file)
@@ -44,7 +44,7 @@ package fast_memory_map;
 
 
 
-function FastTuple2 #(Bool, Bit#(TLog#(Num_Slaves)))
+function FastTuple2 #(Bool, Bit#(TLog#(Num_Fast_Slaves)))
                 fn_addr_to_slave_num  (Bit#(`PADDR) addr);
 
     if(addr>=`SDRAMMemBase && addr<=`SDRAMMemEnd)
index 9c27b1d03e3a1680cc3628aff75b371f5ff0f508..166ba811c7e1bcdb2aadee6a16cb850352308283 100644 (file)
@@ -151,7 +151,7 @@ package socgen;
                           `ifdef PWM_AXI4Lite , ext_pwm_clock `endif );        
 
         // Fabric
-        AXI4_Fabric_IFC #(Num_Masters, Num_Slaves,
+        AXI4_Fabric_IFC #(Num_Masters, Num_Fast_Slaves,
                           `ADDR, `DATA,`USERSPACE)
                         fabric <- mkAXI4_Fabric(fn_addr_to_slave_num);