data/full_repos/permissive/127311496/src/v/CPU/TLB.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:16: Cannot find include file: TLBDefines.vh\n`include "TLBDefines.vh" \n         ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/127311496/src/v/CPU,data/full_repos/permissive/127311496/TLBDefines.vh\n             data/full_repos/permissive/127311496/src/v/CPU,data/full_repos/permissive/127311496/TLBDefines.vh.v\n             data/full_repos/permissive/127311496/src/v/CPU,data/full_repos/permissive/127311496/TLBDefines.vh.sv\n             TLBDefines.vh\n             TLBDefines.vh.v\n             TLBDefines.vh.sv\n             obj_dir/TLBDefines.vh\n             obj_dir/TLBDefines.vh.v\n             obj_dir/TLBDefines.vh.sv\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:52: Define or directive not defined: \'`PageMask\'\n assign dataInHeader[`PageMask] = regPageMaskIn[28:13];\n                     ^~~~~~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:52: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInHeader[`PageMask] = regPageMaskIn[28:13];\n                              ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:53: Define or directive not defined: \'`VPN2\'\n assign dataInHeader[`VPN2] = regEntryHiIn[31:13];\n                     ^~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:53: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInHeader[`VPN2] = regEntryHiIn[31:13];\n                          ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:54: Define or directive not defined: \'`G\'\n assign dataInHeader[`G] = regEntryLo0In[0] & regEntryLo1In[0];\n                     ^~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:54: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInHeader[`G] = regEntryLo0In[0] & regEntryLo1In[0];\n                       ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:55: Define or directive not defined: \'`ASID\'\n assign dataInHeader[`ASID] = regEntryHiIn[7:0];\n                     ^~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:55: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInHeader[`ASID] = regEntryHiIn[7:0];\n                          ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:56: Define or directive not defined: \'`PFN1\'\n assign dataInEntry[`PFN1] = regEntryLo1In[29:6];\n                    ^~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:56: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInEntry[`PFN1] = regEntryLo1In[29:6];\n                         ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:57: Define or directive not defined: \'`C1\'\n assign dataInEntry[`C1] = regEntryLo1In[5:3];\n                    ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:57: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInEntry[`C1] = regEntryLo1In[5:3];\n                       ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:58: Define or directive not defined: \'`D1\'\n assign dataInEntry[`D1] = regEntryLo1In[2];\n                    ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:58: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInEntry[`D1] = regEntryLo1In[2];\n                       ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:59: Define or directive not defined: \'`V1\'\n assign dataInEntry[`V1] = regEntryLo1In[1];\n                    ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:59: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInEntry[`V1] = regEntryLo1In[1];\n                       ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:60: Define or directive not defined: \'`PFN0\'\n assign dataInEntry[`PFN0] = regEntryLo0In[29:6];\n                    ^~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:60: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInEntry[`PFN0] = regEntryLo0In[29:6];\n                         ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:61: Define or directive not defined: \'`C0\'\n assign dataInEntry[`C0] = regEntryLo0In[5:3];\n                    ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:61: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInEntry[`C0] = regEntryLo0In[5:3];\n                       ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:62: Define or directive not defined: \'`D0\'\n assign dataInEntry[`D0] = regEntryLo0In[2];\n                    ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:62: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInEntry[`D0] = regEntryLo0In[2];\n                       ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:63: Define or directive not defined: \'`V0\'\n assign dataInEntry[`V0] = regEntryLo0In[1];\n                    ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:63: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign dataInEntry[`V0] = regEntryLo0In[1];\n                       ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:65: Define or directive not defined: \'`PageMask\'\n assign regPageMaskOut = {3\'h0, dataOutHeader[`PageMask], 13\'h0};\n                                              ^~~~~~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:65: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign regPageMaskOut = {3\'h0, dataOutHeader[`PageMask], 13\'h0};\n                                                       ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:66: Define or directive not defined: \'`VPN2\'\n assign regEntryHiOut = {dataOutHeader[`VPN2], 5\'h0, dataOutHeader[`ASID]};\n                                       ^~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:66: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign regEntryHiOut = {dataOutHeader[`VPN2], 5\'h0, dataOutHeader[`ASID]};\n                                            ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:66: Define or directive not defined: \'`ASID\'\n assign regEntryHiOut = {dataOutHeader[`VPN2], 5\'h0, dataOutHeader[`ASID]};\n                                                                   ^~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:67: Define or directive not defined: \'`PFN1\'\n assign regEntryLo1Out = {6\'h0, dataOutEntry[`PFN1], dataOutEntry[`C1], dataOutEntry[`D1], dataOutEntry[`V1], dataOutHeader[`G]};\n                                             ^~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:67: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign regEntryLo1Out = {6\'h0, dataOutEntry[`PFN1], dataOutEntry[`C1], dataOutEntry[`D1], dataOutEntry[`V1], dataOutHeader[`G]};\n                                                  ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:67: Define or directive not defined: \'`C1\'\n assign regEntryLo1Out = {6\'h0, dataOutEntry[`PFN1], dataOutEntry[`C1], dataOutEntry[`D1], dataOutEntry[`V1], dataOutHeader[`G]};\n                                                                  ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:67: Define or directive not defined: \'`D1\'\n assign regEntryLo1Out = {6\'h0, dataOutEntry[`PFN1], dataOutEntry[`C1], dataOutEntry[`D1], dataOutEntry[`V1], dataOutHeader[`G]};\n                                                                                     ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:67: Define or directive not defined: \'`V1\'\n assign regEntryLo1Out = {6\'h0, dataOutEntry[`PFN1], dataOutEntry[`C1], dataOutEntry[`D1], dataOutEntry[`V1], dataOutHeader[`G]};\n                                                                                                        ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:67: Define or directive not defined: \'`G\'\n assign regEntryLo1Out = {6\'h0, dataOutEntry[`PFN1], dataOutEntry[`C1], dataOutEntry[`D1], dataOutEntry[`V1], dataOutHeader[`G]};\n                                                                                                                            ^~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:68: Define or directive not defined: \'`PFN0\'\n assign regEntryLo0Out = {6\'h0, dataOutEntry[`PFN0], dataOutEntry[`C0], dataOutEntry[`D0], dataOutEntry[`V0], dataOutHeader[`G]};\n                                             ^~~~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:68: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign regEntryLo0Out = {6\'h0, dataOutEntry[`PFN0], dataOutEntry[`C0], dataOutEntry[`D0], dataOutEntry[`V0], dataOutHeader[`G]};\n                                                  ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:68: Define or directive not defined: \'`C0\'\n assign regEntryLo0Out = {6\'h0, dataOutEntry[`PFN0], dataOutEntry[`C0], dataOutEntry[`D0], dataOutEntry[`V0], dataOutHeader[`G]};\n                                                                  ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:68: Define or directive not defined: \'`D0\'\n assign regEntryLo0Out = {6\'h0, dataOutEntry[`PFN0], dataOutEntry[`C0], dataOutEntry[`D0], dataOutEntry[`V0], dataOutHeader[`G]};\n                                                                                     ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:68: Define or directive not defined: \'`V0\'\n assign regEntryLo0Out = {6\'h0, dataOutEntry[`PFN0], dataOutEntry[`C0], dataOutEntry[`D0], dataOutEntry[`V0], dataOutHeader[`G]};\n                                                                                                        ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:68: Define or directive not defined: \'`G\'\n assign regEntryLo0Out = {6\'h0, dataOutEntry[`PFN0], dataOutEntry[`C0], dataOutEntry[`D0], dataOutEntry[`V0], dataOutHeader[`G]};\n                                                                                                                            ^~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:83: Define or directive not defined: \'`C0\'\n assign cacheI = uncacheI? 3\'b010: entryDataI[`C0];\n                                              ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:83: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign cacheI = uncacheI? 3\'b010: entryDataI[`C0];\n                                                 ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:84: Define or directive not defined: \'`C0\'\n assign cacheD = uncacheD? 3\'b010: entryDataD[`C0];\n                                              ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:84: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign cacheD = uncacheD? 3\'b010: entryDataD[`C0];\n                                                 ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:85: Define or directive not defined: \'`V0\'\n assign invalidI = ~entryDataI[`V0] & ~unmapI;\n                               ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:85: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign invalidI = ~entryDataI[`V0] & ~unmapI;\n                                  ^\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:86: Define or directive not defined: \'`V0\'\n assign invalidD = ~entryDataD[`V0] & reqD_internal;\n                               ^~~\n%Error: data/full_repos/permissive/127311496/src/v/CPU/TLB.v:86: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign invalidD = ~entryDataD[`V0] & reqD_internal;\n                                  ^\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
module Encoder32(
	input [31:0] I, output [4:0] O
);
	assign O[4] = |I[31:16];
	assign O[3] = |{I[31:24], I[15:8]};
	assign O[2] = |{I[31:28], I[23:20], I[15:12], I[7:4]};
	assign O[1] = |{I[31:30], I[27:26], I[23:22], I[19:18], I[15:14], I[11:10], I[7:6], I[3:2]};
	assign O[0] = |{I[31], I[29], I[27], I[25], I[23], I[21], I[19], I[17],
					I[15], I[13], I[11], I[ 9], I[ 7], I[ 5], I[ 3], I[ 1]};

endmodule
module Encoder32(
	input [31:0] I, output [4:0] O
);

	assign O[4] = |I[31:16];
	assign O[3] = |{I[31:24], I[15:8]};
	assign O[2] = |{I[31:28], I[23:20], I[15:12], I[7:4]};
	assign O[1] = |{I[31:30], I[27:26], I[23:22], I[19:18], I[15:14], I[11:10], I[7:6], I[3:2]};
	assign O[0] = |{I[31], I[29], I[27], I[25], I[23], I[21], I[19], I[17],
					I[15], I[13], I[11], I[ 9], I[ 7], I[ 5], I[ 3], I[ 1]};

endmodule