data/full_repos/permissive/211316121/lab6_1/sources_1/new/_74LS163.v
1: b"%Error: data/full_repos/permissive/211316121/lab6_1/sources_1/new/_74LS163.v:10: syntax error, unexpected '(', expecting IDENTIFIER\nclkdiv(clk,clk26);\n       ^~~\n%Error: Exiting due to 1 error(s)\n"
module _74LS163(
input CP,
input CR_n,
input LD_n,
input EP,
input ET,
input [3:0] D,
output reg [3:0] Q,
output RCO
);

always@(posedge CP)
begin
if(~CR_n) Q<=0;
else if(~LD_n) Q<=D;
else if(EP && ET) Q<=Q+1;
end

assign RCO=&Q;

endmodule
module _74LS163(
input CP,
input CR_n,
input LD_n,
input EP,
input ET,
input [3:0] D,
output reg [3:0] Q,
output RCO
);


always@(posedge CP)
begin
if(~CR_n) Q<=0;
else if(~LD_n) Q<=D;
else if(EP && ET) Q<=Q+1;
end

assign RCO=&Q;

endmodule