diff options
Diffstat (limited to 'tests/arch/common/dynamic_part_select/reset_test.v')
-rw-r--r-- | tests/arch/common/dynamic_part_select/reset_test.v | 24 |
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 |