data/full_repos/permissive/166661632/p7/p7/Exc_i.v
1: b'%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:2: Cannot find include file: head.v\n`include"head.v" \n        ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/166661632/p7/p7,data/full_repos/permissive/166661632/head.v\n             data/full_repos/permissive/166661632/p7/p7,data/full_repos/permissive/166661632/head.v.v\n             data/full_repos/permissive/166661632/p7/p7,data/full_repos/permissive/166661632/head.v.sv\n             head.v\n             head.v.v\n             head.v.sv\n             obj_dir/head.v\n             obj_dir/head.v.v\n             obj_dir/head.v.sv\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:12: Define or directive not defined: \'`beq\'\nassign bd_i=(instr_d[31:26]==`beq\n                             ^~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:13: syntax error, unexpected ||, expecting TYPE-IDENTIFIER\n    ||instr_d[31:26]==`j\n    ^~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:13: Define or directive not defined: \'`j\'\n    ||instr_d[31:26]==`j\n                      ^~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:14: Define or directive not defined: \'`jal\'\n    ||instr_d[31:26]==`jal\n                      ^~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:15: Define or directive not defined: \'`special\'\n    ||instr_d[31:26]==`special&&instr_d[5:0]==`jr_funct\n                      ^~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:15: Define or directive not defined: \'`jr_funct\'\n    ||instr_d[31:26]==`special&&instr_d[5:0]==`jr_funct\n                                              ^~~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:16: Define or directive not defined: \'`bgezbltz\'\n    ||instr_d[31:26]==`bgezbltz\n                      ^~~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:17: Define or directive not defined: \'`blez\'\n    ||instr_d[31:26]==`blez\n                      ^~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:18: Define or directive not defined: \'`bgtz\'\n    ||instr_d[31:26]==`bgtz\n                      ^~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:19: Define or directive not defined: \'`special\'\n    ||instr_d[31:26]==`special&& instr_d[5:0]==`jalr_funct\n                      ^~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:19: Define or directive not defined: \'`jalr_funct\'\n    ||instr_d[31:26]==`special&& instr_d[5:0]==`jalr_funct\n                                               ^~~~~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:20: Define or directive not defined: \'`bne\'\n    ||instr_d[31:26]==`bne)==1;\n                      ^~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:21: Define or directive not defined: \'`exc_adel\'\nassign exccode_i=(pc>32\'h4fff||pc<32\'h3000||pc[1:0]!=0)?`exc_adel:0;\n                                                        ^~~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_i.v:21: syntax error, unexpected \':\', expecting TYPE-IDENTIFIER\nassign exccode_i=(pc>32\'h4fff||pc<32\'h3000||pc[1:0]!=0)?`exc_adel:0;\n                                                                 ^\n%Error: Exiting due to 15 error(s)\n'
module Exc_i(instr_d,pc8_i,bd_i,exccode_i,b_d);

input [31:0] pc8_i,instr_d;
input b_d;
output bd_i;
output [4:0] exccode_i;

wire [31:0] pc;
assign pc=pc8_i-8;
assign bd_i=(instr_d[31:26]==`beq
				||instr_d[31:26]==`j
				||instr_d[31:26]==`jal
				||instr_d[31:26]==`special&&instr_d[5:0]==`jr_funct
				||instr_d[31:26]==`bgezbltz
				||instr_d[31:26]==`blez
				||instr_d[31:26]==`bgtz
				||instr_d[31:26]==`special&& instr_d[5:0]==`jalr_funct
				||instr_d[31:26]==`bne)==1;
assign exccode_i=(pc>32'h4fff||pc<32'h3000||pc[1:0]!=0)?`exc_adel:0;

endmodule
module Exc_i(instr_d,pc8_i,bd_i,exccode_i,b_d);


input [31:0] pc8_i,instr_d;
input b_d;
output bd_i;
output [4:0] exccode_i;

wire [31:0] pc;
assign pc=pc8_i-8;
assign bd_i=(instr_d[31:26]==`beq
				||instr_d[31:26]==`j
				||instr_d[31:26]==`jal
				||instr_d[31:26]==`special&&instr_d[5:0]==`jr_funct
				||instr_d[31:26]==`bgezbltz
				||instr_d[31:26]==`blez
				||instr_d[31:26]==`bgtz
				||instr_d[31:26]==`special&& instr_d[5:0]==`jalr_funct
				||instr_d[31:26]==`bne)==1;
assign exccode_i=(pc>32'h4fff||pc<32'h3000||pc[1:0]!=0)?`exc_adel:0;

endmodule