diff options
Diffstat (limited to 'tests/xilinx_ug901/rams_dist.v')
-rw-r--r-- | tests/xilinx_ug901/rams_dist.v | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/xilinx_ug901/rams_dist.v b/tests/xilinx_ug901/rams_dist.v deleted file mode 100644 index 405283b69..000000000 --- a/tests/xilinx_ug901/rams_dist.v +++ /dev/null @@ -1,24 +0,0 @@ -// Dual-Port RAM with Asynchronous Read (Distributed RAM)
-// File: rams_dist.v
-
-module rams_dist (clk, we, a, dpra, di, spo, dpo);
-
-input clk;
-input we;
-input [5:0] a;
-input [5:0] dpra;
-input [15:0] di;
-output [15:0] spo;
-output [15:0] dpo;
-reg [15:0] ram [63:0];
-
-always @(posedge clk)
-begin
- if (we)
- ram[a] <= di;
-end
-
-assign spo = ram[a];
-assign dpo = ram[dpra];
-
-endmodule
|