data/full_repos/permissive/419538859/lab2/lab2_3/lab2_3.v
1: b"%Error: data/full_repos/permissive/419538859/lab2/lab2_3/lab2_3.v:11: syntax error, unexpected '(', expecting IDENTIFIER\nfreq_div #(21) (clk,reset,clk_count);  \n                ^~~\n%Error: data/full_repos/permissive/419538859/lab2/lab2_3/lab2_3.v:12: syntax error, unexpected '(', expecting IDENTIFIER\nfreq_div #(17) (clk,reset,clk_sel);  \n                ^~~\n%Error: data/full_repos/permissive/419538859/lab2/lab2_3/lab2_3.v:15: syntax error, unexpected '(', expecting IDENTIFIER\nseg7_select #(2) (clk_sel,reset,seg7_sel);\n                  ^~~~~~~\n%Error: data/full_repos/permissive/419538859/lab2/lab2_3/lab2_3.v:23: syntax error, unexpected '(', expecting IDENTIFIER\ncount_0_9 (clk,reset,enable,carry0,count0_out);\n           ^~~\n%Error: Exiting due to 4 error(s)\n"
module seg7_select(clk, reset, seg7_sel);
parameter	num_use= 6;
input		clk, reset;
output[2:0]	seg7_sel;
reg	[2:0]	seg7_sel;
always@ (posedge clk or posedge reset) begin
if(reset == 1)
	seg7_sel = 3'b101;
else
	if(seg7_sel == 6 -num_use)
		seg7_sel = 3'b101;
	else
		seg7_sel = seg7_sel-3'b001;
end
endmodule
module seg7_select(clk, reset, seg7_sel);

parameter	num_use= 6;
input		clk, reset;
output[2:0]	seg7_sel;
reg	[2:0]	seg7_sel;
always@ (posedge clk or posedge reset) begin
if(reset == 1)
	seg7_sel = 3'b101;
else
	if(seg7_sel == 6 -num_use)
		seg7_sel = 3'b101;
	else
		seg7_sel = seg7_sel-3'b001;
end
endmodule