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 bcd_to_seg7_1(bcd_in, seg7);
input[3:0] bcd_in;
output[6:0] seg7;
reg[6:0] seg7;
always@ (bcd_in)
case(bcd_in)
4'b0000: seg7 = 7'b1111110;
4'b0001: seg7 = 7'b0110000;
4'b0010: seg7 = 7'b1101101;
4'b0011: seg7 = 7'b1111001;
4'b0100: seg7 = 7'b0110011;
4'b0101: seg7 = 7'b1011011;
4'b0110: seg7 = 7'b1011111;
4'b0111: seg7 = 7'b1110000;
4'b1000: seg7 = 7'b1111111;
4'b1001: seg7 = 7'b1111011;
default: seg7 = 7'b0000001; 
endcase
endmodule
module bcd_to_seg7_1(bcd_in, seg7);

input[3:0] bcd_in;
output[6:0] seg7;
reg[6:0] seg7;
always@ (bcd_in)
case(bcd_in)
4'b0000: seg7 = 7'b1111110;
4'b0001: seg7 = 7'b0110000;
4'b0010: seg7 = 7'b1101101;
4'b0011: seg7 = 7'b1111001;
4'b0100: seg7 = 7'b0110011;
4'b0101: seg7 = 7'b1011011;
4'b0110: seg7 = 7'b1011111;
4'b0111: seg7 = 7'b1110000;
4'b1000: seg7 = 7'b1111111;
4'b1001: seg7 = 7'b1111011;
default: seg7 = 7'b0000001; 
endcase
endmodule