data/full_repos/permissive/146399661/src/rng/rng.v
None: at end of input
1: b'%Error: data/full_repos/permissive/146399661/src/rng/rng.v:13: Cannot find include file: constants.vh\n`include "constants.vh" \n         ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/146399661/src/rng,data/full_repos/permissive/146399661/constants.vh\n             data/full_repos/permissive/146399661/src/rng,data/full_repos/permissive/146399661/constants.vh.v\n             data/full_repos/permissive/146399661/src/rng,data/full_repos/permissive/146399661/constants.vh.sv\n             constants.vh\n             constants.vh.v\n             constants.vh.sv\n             obj_dir/constants.vh\n             obj_dir/constants.vh.v\n             obj_dir/constants.vh.sv\n%Error: Exiting due to 1 error(s)\n'
module rng(clk,en,reset,dataout,ready);
`include "constants.vh"


input clk,en,reset;
output [WORDSIZE-1:0] dataout;
reg [WORDSIZE-1:0] dataout;
output ready;
reg ready;


always @(posedge clk) begin
    if (reset) begin
        $display("\t\trng >> Entering reset stage");
        dataout <= 0;
        ready <= 1;
    end

    if (en) begin
        dataout <= dataout + NONCE_INCREMENT_OFFSET;
    end
end

endmodule
module rng(clk,en,reset,dataout,ready);

`include "constants.vh"


input clk,en,reset;
output [WORDSIZE-1:0] dataout;
reg [WORDSIZE-1:0] dataout;
output ready;
reg ready;


always @(posedge clk) begin
    if (reset) begin
        $display("\t\trng >> Entering reset stage");
        dataout <= 0;
        ready <= 1;
    end

    if (en) begin
        dataout <= dataout + NONCE_INCREMENT_OFFSET;
    end
end

endmodule