data/full_repos/permissive/193054270/count7/count7.cydsn/ctr/ctr.v
None: at end of input
1: b'%Error: data/full_repos/permissive/193054270/count7/count7.cydsn/ctr/ctr.v:1: Cannot find include file: cypress.v\n`include "cypress.v" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/193054270/count7/count7.cydsn/ctr,data/full_repos/permissive/193054270/cypress.v\n             data/full_repos/permissive/193054270/count7/count7.cydsn/ctr,data/full_repos/permissive/193054270/cypress.v.v\n             data/full_repos/permissive/193054270/count7/count7.cydsn/ctr,data/full_repos/permissive/193054270/cypress.v.sv\n             cypress.v\n             cypress.v.v\n             cypress.v.sv\n             obj_dir/cypress.v\n             obj_dir/cypress.v.v\n             obj_dir/cypress.v.sv\n%Error: Exiting due to 1 error(s)\n'
module ctr (
	output  result,
	input   clock,
    input   count_reset
);

wire data_tc;
reg [6:0] count; 
reg result_reg;
 
cy_psoc3_count7 #(.cy_period(7'b111),.cy_route_ld(1),.cy_route_en(1))
DataCounter(
    .clock(clock),
    .reset(1'b0),
    .load(count_reset),
    .enable(1'b1),
    .count(count),
    .tc(data_tc)
);
    
always @(posedge clock)
begin
    if(data_tc)
    begin
        result_reg = ~result_reg;
    end
end

assign result = result_reg;

endmodule
module ctr (
	output  result,
	input   clock,
    input   count_reset
);


wire data_tc;
reg [6:0] count; 
reg result_reg;
 
cy_psoc3_count7 #(.cy_period(7'b111),.cy_route_ld(1),.cy_route_en(1))
DataCounter(
    .clock(clock),
    .reset(1'b0),
    .load(count_reset),
    .enable(1'b1),
    .count(count),
    .tc(data_tc)
);
    
always @(posedge clock)
begin
    if(data_tc)
    begin
        result_reg = ~result_reg;
    end
end

assign result = result_reg;

endmodule