aboutsummaryrefslogtreecommitdiffstats
path: root/tests/xilinx_ug901/rams_sp_rf.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xilinx_ug901/rams_sp_rf.v')
-rw-r--r--tests/xilinx_ug901/rams_sp_rf.v26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/xilinx_ug901/rams_sp_rf.v b/tests/xilinx_ug901/rams_sp_rf.v
deleted file mode 100644
index 5e0adf88b..000000000
--- a/tests/xilinx_ug901/rams_sp_rf.v
+++ /dev/null
@@ -1,26 +0,0 @@
-// Single-Port Block RAM Read-First Mode
-// rams_sp_rf.v
-module rams_sp_rf (clk, en, we, addr, di, dout);
-
-input clk;
-input we;
-input en;
-input [9:0] addr;
-input [15:0] di;
-output [15:0] dout;
-
-reg [15:0] RAM [1023:0];
-reg [15:0] dout;
-
-always @(posedge clk)
-begin
- if (en)
- begin
- if (we)
- RAM[addr]<=di;
- dout <= RAM[addr];
- end
-end
-
-endmodule
-