data/full_repos/permissive/113962532/risc-v/risc-v.srcs/sources_1/new/cpu.v
 line:270: before: "ragma"
1: b'%Error: data/full_repos/permissive/113962532/risc-v/risc-v.srcs/sources_1/new/cpu.v:2: Cannot find include file: defines.vh\n`include "defines.vh" \n         ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/113962532/risc-v/risc-v.srcs/sources_1/new,data/full_repos/permissive/113962532/defines.vh\n             data/full_repos/permissive/113962532/risc-v/risc-v.srcs/sources_1/new,data/full_repos/permissive/113962532/defines.vh.v\n             data/full_repos/permissive/113962532/risc-v/risc-v.srcs/sources_1/new,data/full_repos/permissive/113962532/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: Exiting due to 1 error(s)\n'
module cpu(
        input wire EXclk,
        input wire button,
        
		output Tx,
		input Rx

    );

    

    reg rst;
    reg rst_delay;
    
    wire clk;
    
    clk_wiz_0 clk0(.clk_out1(clk), .reset(1'b0), .clk_in1(EXclk));

    always @(posedge clk or posedge button) begin
        if(button) begin
            rst <= 1;
            rst_delay <= 1;
        end else begin
            rst_delay <= 0;
            rst <= rst_delay;
        end
    end

    risc32i risc32i0(
        .clk(clk),
        .rst(rst),
		.Tx(Tx),
		.Rx(Rx)
    );


endmodule
module cpu(
        input wire EXclk,
        input wire button,
        
		output Tx,
		input Rx

    );


    

    reg rst;
    reg rst_delay;
    
    wire clk;
    
    clk_wiz_0 clk0(.clk_out1(clk), .reset(1'b0), .clk_in1(EXclk));

    always @(posedge clk or posedge button) begin
        if(button) begin
            rst <= 1;
            rst_delay <= 1;
        end else begin
            rst_delay <= 0;
            rst <= rst_delay;
        end
    end

    risc32i risc32i0(
        .clk(clk),
        .rst(rst),
		.Tx(Tx),
		.Rx(Rx)
    );


endmodule