data/full_repos/permissive/101171422/de2-115/swhex/swhex.v
1: b"%Error: data/full_repos/permissive/101171422/de2-115/swhex/swhex.v:7: Cannot find file containing module: 'hexdigit'\n hexdigit h0(sw[3:0], hex[6:0]);\n ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/101171422/de2-115/swhex,data/full_repos/permissive/101171422/hexdigit\n             data/full_repos/permissive/101171422/de2-115/swhex,data/full_repos/permissive/101171422/hexdigit.v\n             data/full_repos/permissive/101171422/de2-115/swhex,data/full_repos/permissive/101171422/hexdigit.sv\n             hexdigit\n             hexdigit.v\n             hexdigit.sv\n             obj_dir/hexdigit\n             obj_dir/hexdigit.v\n             obj_dir/hexdigit.sv\n%Error: data/full_repos/permissive/101171422/de2-115/swhex/swhex.v:8: Cannot find file containing module: 'hexdigit'\n hexdigit h1(sw[7:4], hex[13:7]);\n ^~~~~~~~\n%Error: data/full_repos/permissive/101171422/de2-115/swhex/swhex.v:9: Cannot find file containing module: 'hexdigit'\n hexdigit h2(sw[11:8], hex[20:14]);\n ^~~~~~~~\n%Error: data/full_repos/permissive/101171422/de2-115/swhex/swhex.v:10: Cannot find file containing module: 'hexdigit'\n hexdigit h3(sw[15:12], hex[27:21]);\n ^~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module swhex
(
	input wire [17:0]    sw,
	output wire [8*7-1:0] hex
);
	hexdigit h0(sw[3:0], hex[6:0]);
	hexdigit h1(sw[7:4], hex[13:7]);
	hexdigit h2(sw[11:8], hex[20:14]);
	hexdigit h3(sw[15:12], hex[27:21]);
endmodule
module swhex
(
	input wire [17:0]    sw,
	output wire [8*7-1:0] hex
);

	hexdigit h0(sw[3:0], hex[6:0]);
	hexdigit h1(sw[7:4], hex[13:7]);
	hexdigit h2(sw[11:8], hex[20:14]);
	hexdigit h3(sw[15:12], hex[27:21]);
endmodule