data/full_repos/permissive/180413071/common_sources/register.v
 line:140: before: "reset"
1: b'%Error: data/full_repos/permissive/180413071/common_sources/register.v:2: Cannot find include file: constants.vh\n`include "constants.vh" \n         ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/180413071/common_sources,data/full_repos/permissive/180413071/constants.vh\n             data/full_repos/permissive/180413071/common_sources,data/full_repos/permissive/180413071/constants.vh.v\n             data/full_repos/permissive/180413071/common_sources,data/full_repos/permissive/180413071/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: data/full_repos/permissive/180413071/common_sources/register.v:5: Define or directive not defined: \'`WORD\'\nmodule register #(parameter SIZE=`WORD) (\n                                 ^~~~~\n%Error: data/full_repos/permissive/180413071/common_sources/register.v:5: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\nmodule register #(parameter SIZE=`WORD) (\n                                      ^\n%Error: data/full_repos/permissive/180413071/common_sources/register.v:10: syntax error, unexpected \')\', expecting \',\' or \';\'\n);\n^\n%Error: Exiting due to 4 error(s)\n'
module register #(parameter SIZE=`WORD) (
    input                 clk,
    input                 reset,
    input      [SIZE-1:0] D,
    output reg [SIZE-1:0] Q
);

    initial Q <= 'b0;
    
    always @(posedge clk, reset)
        Q <= (reset == 1'b1 ? 'b0 : D);

endmodule
module register #(parameter SIZE=`WORD) (
    input                 clk,
    input                 reset,
    input      [SIZE-1:0] D,
    output reg [SIZE-1:0] Q
);


    initial Q <= 'b0;
    
    always @(posedge clk, reset)
        Q <= (reset == 1'b1 ? 'b0 : D);

endmodule