data/full_repos/permissive/166661632/p7/p7/Exc_e.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.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_e.v:15: Define or directive not defined: \'`special\'\nassign exccode_e=(op==`special&&funct==`add_funct&&overflow||op==`special&&funct==`sub_funct&&overflow)?`exc_ov:\n                      ^~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:15: syntax error, unexpected &&, expecting TYPE-IDENTIFIER\nassign exccode_e=(op==`special&&funct==`add_funct&&overflow||op==`special&&funct==`sub_funct&&overflow)?`exc_ov:\n                              ^~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:15: Define or directive not defined: \'`add_funct\'\nassign exccode_e=(op==`special&&funct==`add_funct&&overflow||op==`special&&funct==`sub_funct&&overflow)?`exc_ov:\n                                       ^~~~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:15: Define or directive not defined: \'`special\'\nassign exccode_e=(op==`special&&funct==`add_funct&&overflow||op==`special&&funct==`sub_funct&&overflow)?`exc_ov:\n                                                                 ^~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:15: Define or directive not defined: \'`sub_funct\'\nassign exccode_e=(op==`special&&funct==`add_funct&&overflow||op==`special&&funct==`sub_funct&&overflow)?`exc_ov:\n                                                                                  ^~~~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:15: Define or directive not defined: \'`exc_ov\'\nassign exccode_e=(op==`special&&funct==`add_funct&&overflow||op==`special&&funct==`sub_funct&&overflow)?`exc_ov:\n                                                                                                        ^~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:16: Define or directive not defined: \'`addi\'\n      (op==`addi&&overflow==1)?`exc_ov:\n           ^~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:16: Define or directive not defined: \'`exc_ov\'\n      (op==`addi&&overflow==1)?`exc_ov:\n                               ^~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:17: Define or directive not defined: \'`sw\'\n      ((op==`sw||op==`sb||op==`sh)&&overflow)?`exc_ades:\n            ^~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:17: Define or directive not defined: \'`sb\'\n      ((op==`sw||op==`sb||op==`sh)&&overflow)?`exc_ades:\n                     ^~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:17: Define or directive not defined: \'`sh\'\n      ((op==`sw||op==`sb||op==`sh)&&overflow)?`exc_ades:\n                              ^~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:17: Define or directive not defined: \'`exc_ades\'\n      ((op==`sw||op==`sb||op==`sh)&&overflow)?`exc_ades:\n                                              ^~~~~~~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:18: Define or directive not defined: \'`lw\'\n      ((op==`lw||op==`lb||op==`lbu||op==`lh||op==`lhu)&&overflow)?`exc_adel:\n            ^~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:18: Define or directive not defined: \'`lb\'\n      ((op==`lw||op==`lb||op==`lbu||op==`lh||op==`lhu)&&overflow)?`exc_adel:\n                     ^~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:18: Define or directive not defined: \'`lbu\'\n      ((op==`lw||op==`lb||op==`lbu||op==`lh||op==`lhu)&&overflow)?`exc_adel:\n                              ^~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:18: Define or directive not defined: \'`lh\'\n      ((op==`lw||op==`lb||op==`lbu||op==`lh||op==`lhu)&&overflow)?`exc_adel:\n                                        ^~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:18: Define or directive not defined: \'`lhu\'\n      ((op==`lw||op==`lb||op==`lbu||op==`lh||op==`lhu)&&overflow)?`exc_adel:\n                                                 ^~~~\n%Error: data/full_repos/permissive/166661632/p7/p7/Exc_e.v:18: Define or directive not defined: \'`exc_adel\'\n      ((op==`lw||op==`lb||op==`lbu||op==`lh||op==`lhu)&&overflow)?`exc_adel:\n                                                                  ^~~~~~~~~\n%Error: Exiting due to 19 error(s)\n'
module Exc_e(instr_e,overflow,bd_d,exccode_d,bd_e,exccode_e);
input [31:0] instr_e;
input overflow,bd_d;
input [4:0] exccode_d;
output bd_e;
output [4:0] exccode_e;

assign bd_e=bd_d;
wire [5:0] op,funct;
assign funct=instr_e[5:0];
assign op=instr_e[31:26];

assign exccode_e=(op==`special&&funct==`add_funct&&overflow||op==`special&&funct==`sub_funct&&overflow)?`exc_ov:
						(op==`addi&&overflow==1)?`exc_ov:
						((op==`sw||op==`sb||op==`sh)&&overflow)?`exc_ades:
						((op==`lw||op==`lb||op==`lbu||op==`lh||op==`lhu)&&overflow)?`exc_adel:
						exccode_d;




endmodule
module Exc_e(instr_e,overflow,bd_d,exccode_d,bd_e,exccode_e);

input [31:0] instr_e;
input overflow,bd_d;
input [4:0] exccode_d;
output bd_e;
output [4:0] exccode_e;

assign bd_e=bd_d;
wire [5:0] op,funct;
assign funct=instr_e[5:0];
assign op=instr_e[31:26];

assign exccode_e=(op==`special&&funct==`add_funct&&overflow||op==`special&&funct==`sub_funct&&overflow)?`exc_ov:
						(op==`addi&&overflow==1)?`exc_ov:
						((op==`sw||op==`sb||op==`sh)&&overflow)?`exc_ades:
						((op==`lw||op==`lb||op==`lbu||op==`lh||op==`lhu)&&overflow)?`exc_adel:
						exccode_d;




endmodule