data/full_repos/permissive/104269513/ALU_final_smaller.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/104269513/ALU_final_smaller.v:416: Unsupported: Ignoring delay on this delayed statement.\nforever #10 clk=~clk;\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/104269513/ALU_final_smaller.v:422: Unsupported: Ignoring delay on this delayed statement.\n#99\n^\n%Error: data/full_repos/permissive/104269513/ALU_final_smaller.v:424: Too many digits for 32 bit number: \'hFFFF_FFFF_FFFF_FFFF\nA=\'hFFFF_FFFF_FFFF_FFFF;\n  ^~~~~~~~~~~~~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/104269513/ALU_final_smaller.v:428: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/104269513/ALU_final_smaller.v:431: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/104269513/ALU_final_smaller.v:434: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/104269513/ALU_final_smaller.v:437: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/104269513/ALU_final_smaller.v:440: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/104269513/ALU_final_smaller.v:443: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/104269513/ALU_final_smaller.v:446: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Error: Exiting due to 1 error(s), 9 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module shift_R_register (data_in,shamt,data_out);
parameter WIDTH = 64;

	input [WIDTH-1:0] data_in;	
	input [WIDTH-1:0] shamt;
	output [WIDTH-1:0]  data_out;	
	
	

	reg [WIDTH-1:0] data_out;


always @ *
begin
	case(shamt[5:0])
		'h0: data_out = {data_in};
		'h1: data_out = {1'h0,data_in[WIDTH-1:1]};
		'h2: data_out = {2'h0,data_in[WIDTH-1:2]};
		'h3: data_out = {3'h0,data_in[WIDTH-1:3]};
		'h4: data_out = {4'h0,data_in[WIDTH-1:4]};
		'h5: data_out = {5'h0,data_in[WIDTH-1:5]};
		'h6: data_out = {6'h0,data_in[WIDTH-1:6]};
		'h7: data_out = {7'h0,data_in[WIDTH-1:7]};
		'h8: data_out = {8'h0,data_in[WIDTH-1:8]};
		'h9: data_out = {9'h0,data_in[WIDTH-1:9]};
		'hA: data_out = {10'h0,data_in[WIDTH-1:10]};
		'hB: data_out = {11'h0,data_in[WIDTH-1:11]};
		'hC: data_out = {12'h0,data_in[WIDTH-1:12]};
		'hD: data_out = {13'h0,data_in[WIDTH-1:13]};
		'hE: data_out = {14'h0,data_in[WIDTH-1:14]};
		'hF: data_out = {15'h0,data_in[WIDTH-1:15]};
		'h10: data_out = {16'h0,data_in[WIDTH-1:16]};
		'h11: data_out = {17'h0,data_in[WIDTH-1:17]};
		'h12: data_out = {18'h0,data_in[WIDTH-1:18]};
		'h13: data_out = {19'h0,data_in[WIDTH-1:19]};
		'h14: data_out = {20'h0,data_in[WIDTH-1:20]};
		'h15: data_out = {21'h0,data_in[WIDTH-1:21]};
		'h16: data_out = {22'h0,data_in[WIDTH-1:22]};
		'h17: data_out = {23'h0,data_in[WIDTH-1:23]};
		'h18: data_out = {24'h0,data_in[WIDTH-1:24]};
		'h19: data_out = {25'h0,data_in[WIDTH-1:25]};
		'h1A: data_out = {26'h0,data_in[WIDTH-1:26]};
		'h1B: data_out = {27'h0,data_in[WIDTH-1:27]};
		'h1C: data_out = {28'h0,data_in[WIDTH-1:28]};
		'h1D: data_out = {29'h0,data_in[WIDTH-1:29]};
		'h1E: data_out = {30'h0,data_in[WIDTH-1:30]};
		'h1F: data_out = {31'h0,data_in[WIDTH-1:31]};
		'h20: data_out = {32'h0,data_in[WIDTH-1:32]};
		'h21: data_out = {33'h0,data_in[WIDTH-1:33]};
		'h22: data_out = {34'h0,data_in[WIDTH-1:34]};
		'h23: data_out = {35'h0,data_in[WIDTH-1:35]};
		'h24: data_out = {36'h0,data_in[WIDTH-1:36]};
		'h25: data_out = {37'h0,data_in[WIDTH-1:37]};
		'h26: data_out = {38'h0,data_in[WIDTH-1:38]};
		'h27: data_out = {39'h0,data_in[WIDTH-1:39]};
		'h28: data_out = {40'h0,data_in[WIDTH-1:40]};
		'h29: data_out = {41'h0,data_in[WIDTH-1:41]};
		'h2A: data_out = {42'h0,data_in[WIDTH-1:42]};
		'h2B: data_out = {43'h0,data_in[WIDTH-1:43]};
		'h2C: data_out = {44'h0,data_in[WIDTH-1:44]};
		'h2D: data_out = {45'h0,data_in[WIDTH-1:45]};
		'h2E: data_out = {46'h0,data_in[WIDTH-1:46]};
		'h2F: data_out = {47'h0,data_in[WIDTH-1:47]};
		'h30: data_out = {48'h0,data_in[WIDTH-1:48]};
		default: data_out = data_in;
	endcase

end	
	
	











	

endmodule
module shift_R_register (data_in,shamt,data_out);

parameter WIDTH = 64;

	input [WIDTH-1:0] data_in;	
	input [WIDTH-1:0] shamt;
	output [WIDTH-1:0]  data_out;	
	
	

	reg [WIDTH-1:0] data_out;


always @ *
begin
	case(shamt[5:0])
		'h0: data_out = {data_in};
		'h1: data_out = {1'h0,data_in[WIDTH-1:1]};
		'h2: data_out = {2'h0,data_in[WIDTH-1:2]};
		'h3: data_out = {3'h0,data_in[WIDTH-1:3]};
		'h4: data_out = {4'h0,data_in[WIDTH-1:4]};
		'h5: data_out = {5'h0,data_in[WIDTH-1:5]};
		'h6: data_out = {6'h0,data_in[WIDTH-1:6]};
		'h7: data_out = {7'h0,data_in[WIDTH-1:7]};
		'h8: data_out = {8'h0,data_in[WIDTH-1:8]};
		'h9: data_out = {9'h0,data_in[WIDTH-1:9]};
		'hA: data_out = {10'h0,data_in[WIDTH-1:10]};
		'hB: data_out = {11'h0,data_in[WIDTH-1:11]};
		'hC: data_out = {12'h0,data_in[WIDTH-1:12]};
		'hD: data_out = {13'h0,data_in[WIDTH-1:13]};
		'hE: data_out = {14'h0,data_in[WIDTH-1:14]};
		'hF: data_out = {15'h0,data_in[WIDTH-1:15]};
		'h10: data_out = {16'h0,data_in[WIDTH-1:16]};
		'h11: data_out = {17'h0,data_in[WIDTH-1:17]};
		'h12: data_out = {18'h0,data_in[WIDTH-1:18]};
		'h13: data_out = {19'h0,data_in[WIDTH-1:19]};
		'h14: data_out = {20'h0,data_in[WIDTH-1:20]};
		'h15: data_out = {21'h0,data_in[WIDTH-1:21]};
		'h16: data_out = {22'h0,data_in[WIDTH-1:22]};
		'h17: data_out = {23'h0,data_in[WIDTH-1:23]};
		'h18: data_out = {24'h0,data_in[WIDTH-1:24]};
		'h19: data_out = {25'h0,data_in[WIDTH-1:25]};
		'h1A: data_out = {26'h0,data_in[WIDTH-1:26]};
		'h1B: data_out = {27'h0,data_in[WIDTH-1:27]};
		'h1C: data_out = {28'h0,data_in[WIDTH-1:28]};
		'h1D: data_out = {29'h0,data_in[WIDTH-1:29]};
		'h1E: data_out = {30'h0,data_in[WIDTH-1:30]};
		'h1F: data_out = {31'h0,data_in[WIDTH-1:31]};
		'h20: data_out = {32'h0,data_in[WIDTH-1:32]};
		'h21: data_out = {33'h0,data_in[WIDTH-1:33]};
		'h22: data_out = {34'h0,data_in[WIDTH-1:34]};
		'h23: data_out = {35'h0,data_in[WIDTH-1:35]};
		'h24: data_out = {36'h0,data_in[WIDTH-1:36]};
		'h25: data_out = {37'h0,data_in[WIDTH-1:37]};
		'h26: data_out = {38'h0,data_in[WIDTH-1:38]};
		'h27: data_out = {39'h0,data_in[WIDTH-1:39]};
		'h28: data_out = {40'h0,data_in[WIDTH-1:40]};
		'h29: data_out = {41'h0,data_in[WIDTH-1:41]};
		'h2A: data_out = {42'h0,data_in[WIDTH-1:42]};
		'h2B: data_out = {43'h0,data_in[WIDTH-1:43]};
		'h2C: data_out = {44'h0,data_in[WIDTH-1:44]};
		'h2D: data_out = {45'h0,data_in[WIDTH-1:45]};
		'h2E: data_out = {46'h0,data_in[WIDTH-1:46]};
		'h2F: data_out = {47'h0,data_in[WIDTH-1:47]};
		'h30: data_out = {48'h0,data_in[WIDTH-1:48]};
		default: data_out = data_in;
	endcase

end	
	
	











	

endmodule