summaryrefslogtreecommitdiffstats
path: root/usrp2/control_lib
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-05-27 16:30:42 -0700
committerMatt Ettus <matt@ettus.com>2010-05-27 16:30:42 -0700
commitd87035457d623fde5b141068f83bb891b7d6978e (patch)
treede639616c82eb8cf20e9c26084477dfdc6eba68e /usrp2/control_lib
parent6f63773d7425dd952c5ca24da618c22c486ae294 (diff)
parent621ad7cc9e68b4e304b616d8f840d3a03a047c8b (diff)
downloaduhd-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.v6
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)