data/full_repos/permissive/467959154/rtl/src/ctdc_coarse_cntr.v
1: b"%Error: data/full_repos/permissive/467959154/rtl/src/ctdc_coarse_cntr.v:58: Define or directive not defined: '`COARSE_CNTR_WIDTH'\n  output [`COARSE_CNTR_WIDTH-1:0] timestamp\n          ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/467959154/rtl/src/ctdc_coarse_cntr.v:64: Define or directive not defined: '`COARSE_CNTR_WIDTH'\n  reg [`COARSE_CNTR_WIDTH-1:0] count;\n       ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/467959154/rtl/src/ctdc_coarse_cntr.v:77: Define or directive not defined: '`COARSE_CNTR_WIDTH'\n        count[`COARSE_CNTR_WIDTH-1:0] <= {16{1'b0}};\n              ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/467959154/rtl/src/ctdc_coarse_cntr.v:80: Define or directive not defined: '`COARSE_CNTR_WIDTH'\n      count[`COARSE_CNTR_WIDTH-1:0] <= count + 1'd1;\n            ^~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module ctdc_coarse_cntr
(


  input                           arst_n     ,
  input                           clk        ,


  output [`COARSE_CNTR_WIDTH-1:0] timestamp
);




  reg [`COARSE_CNTR_WIDTH-1:0] count;










    always @ ( posedge clk or posedge arst_n ) begin
      if ( arst_n ) begin
        count[`COARSE_CNTR_WIDTH-1:0] <= {16{1'b0}};
      end
      else begin
      count[`COARSE_CNTR_WIDTH-1:0] <= count + 1'd1;
      end
    end

    assign timestamp = count;






endmodule
module ctdc_coarse_cntr
(


  input                           arst_n     ,
  input                           clk        ,


  output [`COARSE_CNTR_WIDTH-1:0] timestamp
);





  reg [`COARSE_CNTR_WIDTH-1:0] count;










    always @ ( posedge clk or posedge arst_n ) begin
      if ( arst_n ) begin
        count[`COARSE_CNTR_WIDTH-1:0] <= {16{1'b0}};
      end
      else begin
      count[`COARSE_CNTR_WIDTH-1:0] <= count + 1'd1;
      end
    end

    assign timestamp = count;






endmodule