diff options
author | Matt Ettus <matt@ettus.com> | 2010-10-21 15:14:37 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-10-21 15:14:37 -0700 |
commit | 9a687bdb82eeb5f5133146bb3af6800d8435c75d (patch) | |
tree | 5666f6e6bfe4c0a0f29b83b263ef6d3c4bd6854c /usrp2/extramfifo | |
parent | cd0f9cf58a87866d27ece0a47f85896a9f3ff705 (diff) | |
download | uhd-9a687bdb82eeb5f5133146bb3af6800d8435c75d.tar.gz uhd-9a687bdb82eeb5f5133146bb3af6800d8435c75d.tar.bz2 uhd-9a687bdb82eeb5f5133146bb3af6800d8435c75d.zip |
address gray coding
Diffstat (limited to 'usrp2/extramfifo')
-rw-r--r-- | usrp2/extramfifo/nobl_if.v | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usrp2/extramfifo/nobl_if.v b/usrp2/extramfifo/nobl_if.v index 391a841e8..a8303deca 100644 --- a/usrp2/extramfifo/nobl_if.v +++ b/usrp2/extramfifo/nobl_if.v @@ -39,6 +39,12 @@ module nobl_if assign RAM_LDn = 0; // ZBT/NoBL RAM actually manages its own output enables very well. assign RAM_OEn = 0; + + // gray code the address to reduce EMI + wire [WIDTH-1:0] address_gray; + + bin2gray #(.WIDTH(WIDTH)) bin2gray (.bin(address),.gray(address_gray)); + // // Pipeline stage 1 @@ -59,7 +65,7 @@ module nobl_if if (enable) begin - address_pipe1 <= address; + address_pipe1 <= address_gray; write_pipe1 <= write; RAM_WEn <= ~write; // Creates IOB flob |