diff options
author | Matt Ettus <matt@ettus.com> | 2010-05-27 16:30:42 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-05-27 16:30:42 -0700 |
commit | d87035457d623fde5b141068f83bb891b7d6978e (patch) | |
tree | de639616c82eb8cf20e9c26084477dfdc6eba68e /usrp2/control_lib | |
parent | 6f63773d7425dd952c5ca24da618c22c486ae294 (diff) | |
parent | 621ad7cc9e68b4e304b616d8f840d3a03a047c8b (diff) | |
download | uhd-d87035457d623fde5b141068f83bb891b7d6978e.tar.gz uhd-d87035457d623fde5b141068f83bb891b7d6978e.tar.bz2 uhd-d87035457d623fde5b141068f83bb891b7d6978e.zip |
Merge branch 'master' into u1e_merge_with_master
* master:
get rid of some warnings by declaring setting reg width
added width parameter to avoid warnings (thanks IJB) and default value parameter
added pragmas suggested by Ian Buckley to help ISE12 synthesis
get rid of old CVS linkage
settings bus to dsp_clk now uses clock crossing fifo
remove files for old prototypes, they were confusing people
revert commit 9899b81f920 which should have improved timing but didn't
Conflicts:
usrp2/control_lib/setting_reg.v
usrp2/top/u2_core/u2_core.v
usrp2/top/u2_rev3/Makefile
Diffstat (limited to 'usrp2/control_lib')
-rw-r--r-- | usrp2/control_lib/setting_reg.v | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usrp2/control_lib/setting_reg.v b/usrp2/control_lib/setting_reg.v index c8aff230f..3d3bb65e5 100644 --- a/usrp2/control_lib/setting_reg.v +++ b/usrp2/control_lib/setting_reg.v @@ -1,9 +1,11 @@ module setting_reg - #(parameter my_addr = 0, parameter at_reset=32'd0) + #(parameter my_addr = 0, + parameter width = 32, + parameter at_reset=32'd0) (input clk, input rst, input strobe, input wire [7:0] addr, - input wire [31:0] in, output reg [31:0] out, output reg changed); + input wire [31:0] in, output reg [width-1:0] out, output reg changed); always @(posedge clk) if(rst) |