data/full_repos/permissive/109846502/KeyLedDisplay.v
1: b'%Error: data/full_repos/permissive/109846502/KeyLedDisplay.v:2: Cannot find include file: defines.vh\n`include "defines.vh" \n         ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/109846502,data/full_repos/permissive/109846502/defines.vh\n             data/full_repos/permissive/109846502,data/full_repos/permissive/109846502/defines.vh.v\n             data/full_repos/permissive/109846502,data/full_repos/permissive/109846502/defines.vh.sv\n             defines.vh\n             defines.vh.v\n             defines.vh.sv\n             obj_dir/defines.vh\n             obj_dir/defines.vh.v\n             obj_dir/defines.vh.sv\n%Error: data/full_repos/permissive/109846502/KeyLedDisplay.v:29: Define or directive not defined: \'`S_WPR\'\n if(ST == `S_WPR)\n          ^~~~~~\n%Error: data/full_repos/permissive/109846502/KeyLedDisplay.v:29: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n if(ST == `S_WPR)\n                ^\n%Error: data/full_repos/permissive/109846502/KeyLedDisplay.v:31: Define or directive not defined: \'`SL_A\'\n  if(ST_L == `SL_A)\n             ^~~~~\n%Error: Exiting due to 4 error(s)\n'
module KeyLedDisplay(
		input [1:0] ST,
		input [2:0] ST_L,
		output reg [6:0] segOut
    );

always @*
	if(ST == `S_WPR)
	begin
		if(ST_L == `SL_A)
			segOut <= 7'd1;
		else
			segOut <= 7'd3;
	end
	else
		segOut <= 7'd0;
endmodule
module KeyLedDisplay(
		input [1:0] ST,
		input [2:0] ST_L,
		output reg [6:0] segOut
    );


always @*
	if(ST == `S_WPR)
	begin
		if(ST_L == `SL_A)
			segOut <= 7'd1;
		else
			segOut <= 7'd3;
	end
	else
		segOut <= 7'd0;
endmodule