diff options
| author | Josh Blum <josh@joshknows.com> | 2011-08-31 18:29:34 -0700 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2011-08-31 18:29:34 -0700 | 
| commit | d6d017aa58fd858a752ac43a6a6c24704758e444 (patch) | |
| tree | 6f4b3388754d00d149a14c97f4ce6764e5d9a60c /fpga/usrp2/control_lib | |
| parent | 208885b6dc8a01a1d7095cff5b36c8451601259c (diff) | |
| parent | 4f04b93d23015a56b2a2d4e87541b24de36c9018 (diff) | |
| download | uhd-d6d017aa58fd858a752ac43a6a6c24704758e444.tar.gz uhd-d6d017aa58fd858a752ac43a6a6c24704758e444.tar.bz2 uhd-d6d017aa58fd858a752ac43a6a6c24704758e444.zip | |
Merge branch 'fpga_master' into next
Diffstat (limited to 'fpga/usrp2/control_lib')
| -rw-r--r-- | fpga/usrp2/control_lib/atr_controller16.v | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/fpga/usrp2/control_lib/atr_controller16.v b/fpga/usrp2/control_lib/atr_controller16.v index 727f8c630..578da4a5c 100644 --- a/fpga/usrp2/control_lib/atr_controller16.v +++ b/fpga/usrp2/control_lib/atr_controller16.v @@ -22,7 +22,7 @@  module atr_controller16    (input clk_i, input rst_i, -   input [5:0] adr_i, input [1:0] sel_i, input [15:0] dat_i, output reg [15:0] dat_o, +   input [5:0] adr_i, input [1:0] sel_i, input [15:0] dat_i, output [15:0] dat_o,     input we_i, input stb_i, input cyc_i, output reg ack_o,     input run_rx, input run_tx,     output [31:0] ctrl_lines); @@ -50,8 +50,7 @@ module atr_controller16     // Removing readback allows ram to be synthesized as LUTs instead of regs     //always @(posedge clk_i)     //  dat_o <= adr_i[1] ? atr_ram[adr_i[5:2]][31:16] : atr_ram[adr_i[5:2]][15:0]; -   always -     dat_o <= 16'd0; +   assign dat_o = 16'd0;     always @(posedge clk_i)       ack_o <= stb_i & cyc_i & ~ack_o; | 
