aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/common/dynamic_part_select/reset_test.v
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-04-20 11:53:48 -0700
committerEddie Hung <eddie@fpgeh.com>2020-04-20 11:53:48 -0700
commit99a0958601def365caf980fc97ed77832ad7cbda (patch)
treedc6813fb68cd00cb00a6cd9a1b59a185ca74d7b6 /tests/arch/common/dynamic_part_select/reset_test.v
parent22f440506b2b58edc27354d9ac8d474bb6185e63 (diff)
downloadyosys-99a0958601def365caf980fc97ed77832ad7cbda.tar.gz
yosys-99a0958601def365caf980fc97ed77832ad7cbda.tar.bz2
yosys-99a0958601def365caf980fc97ed77832ad7cbda.zip
Remove ununsed files
Diffstat (limited to 'tests/arch/common/dynamic_part_select/reset_test.v')
-rw-r--r--tests/arch/common/dynamic_part_select/reset_test.v24
1 files changed, 0 insertions, 24 deletions
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