diff options
author | SergeyDegtyar <sndegtyar@gmail.com> | 2019-09-10 08:11:56 +0300 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-10-17 17:10:02 +0200 |
commit | 6331fa5b022b9e16f9392d9604a545f86dc13385 (patch) | |
tree | 1be8bae4611fcb193893c73ac3bb3848c0c6944b /tests/xilinx_ug901/rams_pipeline.v | |
parent | 757c476f625bef871f9a4388d4d19bf8c3bc400b (diff) | |
download | yosys-6331fa5b022b9e16f9392d9604a545f86dc13385.tar.gz yosys-6331fa5b022b9e16f9392d9604a545f86dc13385.tar.bz2 yosys-6331fa5b022b9e16f9392d9604a545f86dc13385.zip |
Remove xilinx_ug901 tests (will be moved to yosys-tests)
Diffstat (limited to 'tests/xilinx_ug901/rams_pipeline.v')
-rw-r--r-- | tests/xilinx_ug901/rams_pipeline.v | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/tests/xilinx_ug901/rams_pipeline.v b/tests/xilinx_ug901/rams_pipeline.v deleted file mode 100644 index e86d417f5..000000000 --- a/tests/xilinx_ug901/rams_pipeline.v +++ /dev/null @@ -1,42 +0,0 @@ -// Block RAM with Optional Output Registers
-// File: rams_pipeline
-
-module rams_pipeline (clk1, clk2, we, en1, en2, addr1, addr2, di, res1, res2);
-input clk1;
-input clk2;
-input we, en1, en2;
-input [9:0] addr1;
-input [9:0] addr2;
-input [15:0] di;
-output [15:0] res1;
-output [15:0] res2;
-reg [15:0] res1;
-reg [15:0] res2;
-reg [15:0] RAM [1023:0];
-reg [15:0] do1;
-reg [15:0] do2;
-
-always @(posedge clk1)
-begin
- if (we == 1'b1)
- RAM[addr1] <= di;
- do1 <= RAM[addr1];
-end
-
-always @(posedge clk2)
-begin
- do2 <= RAM[addr2];
-end
-
-always @(posedge clk1)
-begin
- if (en1 == 1'b1)
- res1 <= do1;
-end
-
-always @(posedge clk2)
-begin
- if (en2 == 1'b1)
- res2 <= do2;
-end
-endmodule
|