data/full_repos/permissive/173943530/jt_gng/modules/jt12/jt49/hdl/jt49_noise.v
1: b"%Error: data/full_repos/permissive/173943530/jt_gng/modules/jt12/jt49/hdl/jt49_noise.v:46: Cannot find file containing module: 'jt49_div'\njt49_div #(5) u_div( \n^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/173943530/jt_gng/modules/jt12/jt49/hdl,data/full_repos/permissive/173943530/jt49_div\n             data/full_repos/permissive/173943530/jt_gng/modules/jt12/jt49/hdl,data/full_repos/permissive/173943530/jt49_div.v\n             data/full_repos/permissive/173943530/jt_gng/modules/jt12/jt49/hdl,data/full_repos/permissive/173943530/jt49_div.sv\n             jt49_div\n             jt49_div.v\n             jt49_div.sv\n             obj_dir/jt49_div\n             obj_dir/jt49_div.v\n             obj_dir/jt49_div.sv\n%Error: Exiting due to 1 error(s)\n"
module jt49_noise(
  input       clk,
  input       rst_n,
  input       cen,
  input [4:0] period,
  output      noise
);

reg [5:0]count;
reg [16:0]poly17;
wire poly17_zero = poly17==17'b0;
assign noise=poly17[16];
wire noise_en;

always @( posedge clk )
  if( !rst_n ) 
    poly17 <= 17'd0;
  else if( cen&&noise_en )
     poly17 <= { poly17[0] ^ poly17[2] ^ poly17_zero, poly17[16:1] };

jt49_div #(5) u_div( 
  .clk    ( clk       ), 
  .cen    ( cen       ),
  .rst_n  ( rst_n     ), 
  .period ( period    ), 
  .div    ( noise_en  ) 
);

endmodule
module jt49_noise(
  input       clk,
  input       rst_n,
  input       cen,
  input [4:0] period,
  output      noise
);


reg [5:0]count;
reg [16:0]poly17;
wire poly17_zero = poly17==17'b0;
assign noise=poly17[16];
wire noise_en;

always @( posedge clk )
  if( !rst_n ) 
    poly17 <= 17'd0;
  else if( cen&&noise_en )
     poly17 <= { poly17[0] ^ poly17[2] ^ poly17_zero, poly17[16:1] };

jt49_div #(5) u_div( 
  .clk    ( clk       ), 
  .cen    ( cen       ),
  .rst_n  ( rst_n     ), 
  .period ( period    ), 
  .div    ( noise_en  ) 
);

endmodule