From c23d40e0ba022044de89ead526fd30070bef94a1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 28 Jul 2018 06:10:12 +0100 Subject: [PATCH] cleanup soc template --- src/bsv/bsv_lib/fast_tuple2_template.bsv | 2 +- src/bsv/bsv_lib/soc_template.bsv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2