aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/top/safe_u1e/safe_u1e.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-05-10 14:56:14 -0700
committerMatt Ettus <matt@ettus.com>2010-05-10 14:56:14 -0700
commit57114cf6579a0c6f8fc4626d4c20e8fc09cddb72 (patch)
treeecb3c72f82648b66822b06768fd46a829657e91d /usrp2/top/safe_u1e/safe_u1e.v
parent4a573b5dcc78f9a13162efce09f0bc31f298a818 (diff)
downloaduhd-57114cf6579a0c6f8fc4626d4c20e8fc09cddb72.tar.gz
uhd-57114cf6579a0c6f8fc4626d4c20e8fc09cddb72.tar.bz2
uhd-57114cf6579a0c6f8fc4626d4c20e8fc09cddb72.zip
switched passthru of cgen_sen_b to gpio127, made a note of it. No more safe_u1e necessary.
Diffstat (limited to 'usrp2/top/safe_u1e/safe_u1e.v')
-rw-r--r--usrp2/top/safe_u1e/safe_u1e.v41
1 files changed, 0 insertions, 41 deletions
diff --git a/usrp2/top/safe_u1e/safe_u1e.v b/usrp2/top/safe_u1e/safe_u1e.v
deleted file mode 100644
index dee9c6067..000000000
--- a/usrp2/top/safe_u1e/safe_u1e.v
+++ /dev/null
@@ -1,41 +0,0 @@
-`timescale 1ns / 1ps
-//////////////////////////////////////////////////////////////////////////////////
-
-module safe_u1e
- (
- input CLK_FPGA_P, input CLK_FPGA_N, // Diff
- output [2:0] debug_led, output [31:0] debug, output [1:0] debug_clk,
-
- // GPMC
- input EM_CLK, inout [15:0] EM_D, input [10:1] EM_A,
- input EM_WAIT0, input EM_NCS4, input EM_NWP, input EM_NWE, input EM_NOE, input EM_NADV_ALE
- );
-
- // FPGA-specific pins connections
- wire clk_fpga;
-
- IBUFGDS #(.IOSTANDARD("LVDS_33"), .DIFF_TERM("TRUE"))
- clk_fpga_pin (.O(clk_fpga),.I(CLK_FPGA_P),.IB(CLK_FPGA_N));
-
- // Debug circuitry
- reg [31:0] ctr;
- always @(posedge clk_fpga)
- ctr <= ctr + 1;
-
-
- assign debug_led = ctr[27:25];
- assign debug_clk = { EM_CLK, clk_fpga };
- assign debug = { { EM_WAIT0, EM_NADV_ALE, EM_NWP, EM_NCS4, EM_NWE, EM_NOE, EM_A[10:1] },
- { EM_D } };
-
- wire EM_output_enable = (~EM_NOE & ~EM_NCS4);
- 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