From dbeea34b66c939c15eaaa0a9f805ee9286d0a878 Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Tue, 19 Jul 2011 10:29:57 -0700 Subject: removed wb readback of ATR, allowing it to be synthesized as luts --- usrp2/control_lib/atr_controller.v | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'usrp2/control_lib/atr_controller.v') diff --git a/usrp2/control_lib/atr_controller.v b/usrp2/control_lib/atr_controller.v index 2cef8ba2b..1f8d75d00 100644 --- a/usrp2/control_lib/atr_controller.v +++ b/usrp2/control_lib/atr_controller.v @@ -44,8 +44,11 @@ module atr_controller atr_ram[adr_i[5:2]][7:0] <= dat_i[7:0]; end // if (we_i & stb_i & cyc_i) - always @(posedge clk_i) - dat_o <= atr_ram[adr_i[5:2]]; + // Removing readback allows ram to be synthesized as LUTs instead of regs + //always @(posedge clk_i) + // dat_o <= atr_ram[adr_i[5:2]]; + always @* + dat_o <= 32'd0; always @(posedge clk_i) ack_o <= stb_i & cyc_i & ~ack_o; -- cgit v1.2.3