data/full_repos/permissive/125379288/movemux.v
data/verilator_xmls/f54af66f-d82d-42c3-b8ff-40675679a81f.xml
module move_mux(pl_move, dmg, accu);
	input [1:0]pl_move;
	output reg [3:0] dmg;
	output reg [3:0] accu;
	
	always @(*)
	begin
		case (pl_move[1:0])
		2'b00: begin
			dmg = 4'b0011;
			accu = 4'b1111;
			end
		2'b01: begin
			dmg = 4'b0101;
			accu = 4'b1100;
			end
		2'b10:  begin
			dmg = 4'b0111;
			accu = 4'b1001;
			end
		2'b11: begin
			dmg = 4'b1010;
			accu = 4'b0111;
			end
		default: begin
			dmg = 4'b0000;
			accu = 4'b1111;
			end
	endcase
  end

endmodule
module move_mux(pl_move, dmg, accu);

	input [1:0]pl_move;
	output reg [3:0] dmg;
	output reg [3:0] accu;
	
	always @(*)
	begin
		case (pl_move[1:0])
		2'b00: begin
			dmg = 4'b0011;
			accu = 4'b1111;
			end
		2'b01: begin
			dmg = 4'b0101;
			accu = 4'b1100;
			end
		2'b10:  begin
			dmg = 4'b0111;
			accu = 4'b1001;
			end
		2'b11: begin
			dmg = 4'b1010;
			accu = 4'b0111;
			end
		default: begin
			dmg = 4'b0000;
			accu = 4'b1111;
			end
	endcase
  end

endmodule