diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-04-20 11:53:48 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-04-20 11:53:48 -0700 |
commit | 99a0958601def365caf980fc97ed77832ad7cbda (patch) | |
tree | dc6813fb68cd00cb00a6cd9a1b59a185ca74d7b6 | |
parent | 22f440506b2b58edc27354d9ac8d474bb6185e63 (diff) | |
download | yosys-99a0958601def365caf980fc97ed77832ad7cbda.tar.gz yosys-99a0958601def365caf980fc97ed77832ad7cbda.tar.bz2 yosys-99a0958601def365caf980fc97ed77832ad7cbda.zip |
Remove ununsed files
-rw-r--r-- | tests/arch/common/dynamic_part_select/multiple_blocking.v | 19 | ||||
-rw-r--r-- | tests/arch/common/dynamic_part_select/nonblocking.v | 14 | ||||
-rw-r--r-- | tests/arch/common/dynamic_part_select/original.v | 13 | ||||
-rw-r--r-- | tests/arch/common/dynamic_part_select/reset_test.v | 24 | ||||
-rw-r--r-- | tests/arch/common/dynamic_part_select/reversed.v | 13 |
5 files changed, 0 insertions, 83 deletions
diff --git a/tests/arch/common/dynamic_part_select/multiple_blocking.v b/tests/arch/common/dynamic_part_select/multiple_blocking.v deleted file mode 100644 index 7861722d4..000000000 --- a/tests/arch/common/dynamic_part_select/multiple_blocking.v +++ /dev/null @@ -1,19 +0,0 @@ -module multiple_blocking #(parameter WIDTH=256, SELW=2) - (input clk , - input [9:0] ctrl , - input [15:0] din , - input [SELW-1:0] sel , - output reg [WIDTH:0] dout); - - localparam SLICE = WIDTH/(SELW**2); - reg [9:0] a; - reg [SELW-1:0] b; - reg [15:0] c; - always @(posedge clk) begin - a = ctrl + 1; - b = sel - 1; - c = ~din; - dout = dout + 1; - dout[a*b+:SLICE] = c; - end -endmodule diff --git a/tests/arch/common/dynamic_part_select/nonblocking.v b/tests/arch/common/dynamic_part_select/nonblocking.v deleted file mode 100644 index 89c399522..000000000 --- a/tests/arch/common/dynamic_part_select/nonblocking.v +++ /dev/null @@ -1,14 +0,0 @@ -module nonblocking #(parameter WIDTH=256, SELW=2) - (input clk , - input [9:0] ctrl , - input [15:0] din , - input [SELW-1:0] sel , - output reg [WIDTH-1:0] dout); - - localparam SLICE = WIDTH/(SELW**2); - always @(posedge clk) begin - dout <= dout + 1; - dout[ctrl*sel+:SLICE] <= din ; - end - -endmodule diff --git a/tests/arch/common/dynamic_part_select/original.v b/tests/arch/common/dynamic_part_select/original.v deleted file mode 100644 index bd7654ef5..000000000 --- a/tests/arch/common/dynamic_part_select/original.v +++ /dev/null @@ -1,13 +0,0 @@ -module original #(parameter WIDTH=256, SELW=2) - (input clk , - input [9:0] ctrl , - input [15:0] din , - input [SELW-1:0] sel , - output reg [WIDTH-1:0] dout); - - localparam SLICE = WIDTH/(SELW**2); - always @(posedge clk) - begin - dout[ctrl*sel+:SLICE] <= din ; - end -endmodule diff --git a/tests/arch/common/dynamic_part_select/reset_test.v b/tests/arch/common/dynamic_part_select/reset_test.v deleted file mode 100644 index 5a3a9b9fc..000000000 --- a/tests/arch/common/dynamic_part_select/reset_test.v +++ /dev/null @@ -1,24 +0,0 @@ -module reset_test #(parameter WIDTH=256, SELW=2) - (input clk , - input [9:0] ctrl , - input [15:0] din , - input [SELW-1:0] sel , - input wire reset, - output reg [WIDTH-1:0] dout); - - reg [5:0] i; - wire [SELW-1:0] rval = {reset, {SELW-1{1'b0}}}; - localparam SLICE = WIDTH/(SELW**2); - // Doing exotic reset. masking 2 LSB bits to 0, 6 MSB bits to 1 for - // whatever reason. - always @(posedge clk) begin - if (reset) begin: reset_mask - for (i = 0; i < 16; i=i+1) begin - dout[i*rval+:SLICE] <= 32'hDEAD; - end - end - //else begin - dout[ctrl*sel+:SLICE] <= din; - //end - end -endmodule diff --git a/tests/arch/common/dynamic_part_select/reversed.v b/tests/arch/common/dynamic_part_select/reversed.v deleted file mode 100644 index 5b0a77c11..000000000 --- a/tests/arch/common/dynamic_part_select/reversed.v +++ /dev/null @@ -1,13 +0,0 @@ -module reversed #(parameter WIDTH=256, SELW=2) - (input clk , - input [9:0] ctrl , - input [15:0] din , - input [SELW-1:0] sel , - output reg [WIDTH-1:0] dout); - - localparam SLICE = WIDTH/(SELW**2); - always @(posedge clk) begin - dout[(WIDTH-ctrl*sel)-:SLICE] <= din; - end -endmodule - |