data/full_repos/permissive/444555755/mp4/hdl/cmp.sv
1: b'%Error: data/full_repos/permissive/444555755/mp4/hdl/cmp.sv:1: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\nimport rv32i_types::*;\n       ^~~~~~~~~~~\n%Error: Exiting due to 1 error(s)\n'
module cmp
(
    input branch_funct3_t cmpop,
    input rv32i_word cmpmux1_out,
    input rv32i_word cmpmux2_out,
	output logic br_en
);

always_comb
begin
    unique case (cmpop)
		 beq: br_en = cmpmux1_out == cmpmux2_out;
		 bne: br_en = cmpmux1_out != cmpmux2_out; 
		 blt: br_en = $signed(cmpmux1_out) < $signed(cmpmux2_out); 
		 bge: br_en = $signed(cmpmux1_out) >= $signed(cmpmux2_out);
		 bltu: br_en = cmpmux1_out < cmpmux2_out; 
		 bgeu: br_en = cmpmux1_out >= cmpmux2_out; 
    endcase
end

endmodule
module cmp
(
    input branch_funct3_t cmpop,
    input rv32i_word cmpmux1_out,
    input rv32i_word cmpmux2_out,
	output logic br_en
);


always_comb
begin
    unique case (cmpop)
		 beq: br_en = cmpmux1_out == cmpmux2_out;
		 bne: br_en = cmpmux1_out != cmpmux2_out; 
		 blt: br_en = $signed(cmpmux1_out) < $signed(cmpmux2_out); 
		 bge: br_en = $signed(cmpmux1_out) >= $signed(cmpmux2_out);
		 bltu: br_en = cmpmux1_out < cmpmux2_out; 
		 bgeu: br_en = cmpmux1_out >= cmpmux2_out; 
    endcase
end

endmodule