From: Luke Kenneth Casson Leighton Date: Sat, 28 Jul 2018 05:10:12 +0000 (+0100) Subject: cleanup soc template X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c23d40e0ba022044de89ead526fd30070bef94a1;p=pinmux.git cleanup soc template --- diff --git a/src/bsv/bsv_lib/fast_tuple2_template.bsv b/src/bsv/bsv_lib/fast_tuple2_template.bsv index 0ee905f..6d50157 100644 --- a/src/bsv/bsv_lib/fast_tuple2_template.bsv +++ b/src/bsv/bsv_lib/fast_tuple2_template.bsv @@ -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) diff --git a/src/bsv/bsv_lib/soc_template.bsv b/src/bsv/bsv_lib/soc_template.bsv index 9c27b1d..166ba81 100644 --- a/src/bsv/bsv_lib/soc_template.bsv +++ b/src/bsv/bsv_lib/soc_template.bsv @@ -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);