diff options
author | Matt Ettus <matt@ettus.com> | 2010-02-16 16:21:00 -0800 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-02-16 16:21:00 -0800 |
commit | 8e76952016272c9898776b6beb7a69f476d4707e (patch) | |
tree | 8efbf0a14f4c0d130c82cde11e82cfbe503ecf85 | |
parent | 034eeacfe8d35b0e9733dd9183f1a9dbed78f347 (diff) | |
download | uhd-8e76952016272c9898776b6beb7a69f476d4707e.tar.gz uhd-8e76952016272c9898776b6beb7a69f476d4707e.tar.bz2 uhd-8e76952016272c9898776b6beb7a69f476d4707e.zip |
block ram interface to GPMC
-rw-r--r-- | usrp2/top/safe_u1e/safe_u1e.v | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usrp2/top/safe_u1e/safe_u1e.v b/usrp2/top/safe_u1e/safe_u1e.v index ddd203cf9..dee9c6067 100644 --- a/usrp2/top/safe_u1e/safe_u1e.v +++ b/usrp2/top/safe_u1e/safe_u1e.v @@ -29,9 +29,13 @@ module safe_u1e { EM_D } }; wire EM_output_enable = (~EM_NOE & ~EM_NCS4); - wire [15:0] EM_D_out = 16'hBEEF; - wire [15:0] EM_D_in = EM_D; + wire [15:0] EM_D_out; assign EM_D = EM_output_enable ? EM_D_out : 16'bz; + + ram_2port #(.DWIDTH(16), .AWIDTH(10)) ram_2port + (.clka(clk_fpga), .ena(~EM_NCS4), .wea(~EM_NWE), .addra(EM_A), .dia(EM_D), .doa(EM_D_out), + .clkb(clk_fpga), .enb(0), .web(0), .addrb(0), .dib(0), .dob()); + endmodule // safe_u2plus |