data/full_repos/permissive/519759804/test_delayslot/ByteProcess.v
data/verilator_xmls/a88dc610-480d-4502-9155-09d2cde58fe0.xml
module ByteProcess(Byte_Address,Word,Byte);
	input [1:0] Byte_Address;
	input [31:0] Word;
	output reg [7:0] Byte;
	
	always @(*)begin
		if(Byte_Address==2'b11)			Byte = Word[31:24];
		else if(Byte_Address==2'b10)	Byte = Word[23:16];
		else if(Byte_Address==2'b01)	Byte = Word[15:8];
		else Byte = Word[7:0];
	end
endmodule
module ByteProcess(Byte_Address,Word,Byte);

	input [1:0] Byte_Address;
	input [31:0] Word;
	output reg [7:0] Byte;
	
	always @(*)begin
		if(Byte_Address==2'b11)			Byte = Word[31:24];
		else if(Byte_Address==2'b10)	Byte = Word[23:16];
		else if(Byte_Address==2'b01)	Byte = Word[15:8];
		else Byte = Word[7:0];
	end
endmodule