data/full_repos/permissive/216210370/case/pwm/pwm_test.v
 line:27: before: "."
1: b'%Warning-STMTDLY: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:22: Unsupported: Ignoring delay on this delayed statement.\n#100;\n^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:24: Unsupported: wait statements\nwait(pwm_ch0_out_flag == 1\'b1);\n^~~~\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:27: syntax error, unexpected \'@\'\n    @(posedge `TB_MODULE.PAD_PWM_CH0); \n    ^\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:27: Define or directive not defined: \'`TB_MODULE\'\n    @(posedge `TB_MODULE.PAD_PWM_CH0); \n              ^~~~~~~~~~\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:34: Define or directive not defined: \'`TB_MODULE\'\nforce `TB_MODULE.PAD_PWM_CH2 = input_data;\n      ^~~~~~~~~~\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:34: syntax error, unexpected \'.\', expecting TYPE-IDENTIFIER\nforce `TB_MODULE.PAD_PWM_CH2 = input_data;\n                ^\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:40: syntax error, unexpected \'@\'\n   @( posedge `TB_MODULE.PAD_MCURST);\n   ^\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:40: Define or directive not defined: \'`TB_MODULE\'\n   @( posedge `TB_MODULE.PAD_MCURST);\n              ^~~~~~~~~~\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:41: Define or directive not defined: \'`TB_MODULE\'\n    wait(`TB_MODULE.PAD_PWM_CH0 === 1\'h0);\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:41: syntax error, unexpected \'.\', expecting TYPE-IDENTIFIER\n    wait(`TB_MODULE.PAD_PWM_CH0 === 1\'h0);\n                   ^\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:42: Define or directive not defined: \'`TB_MODULE\'\n    wait(`TB_MODULE.PAD_PWM_CH0 === 1\'h1);\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:42: syntax error, unexpected \'.\', expecting TYPE-IDENTIFIER\n    wait(`TB_MODULE.PAD_PWM_CH0 === 1\'h1);\n                   ^\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:43: syntax error, unexpected \'@\'\n    repeat (20) @(posedge `TB_MODULE.PAD_PWM_CH0);    \n                ^\n%Error: data/full_repos/permissive/216210370/case/pwm/pwm_test.v:43: Define or directive not defined: \'`TB_MODULE\'\n    repeat (20) @(posedge `TB_MODULE.PAD_PWM_CH0);    \n                          ^~~~~~~~~~\n%Error: Exiting due to 13 error(s), 1 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module pwm_test();

`define pwm_ch0_od `TB_MODULE.PAD_PWM_CH0
`define pwm_ch2_id `TB_MODULE.PAD_PWM_CH2

reg input_data;
reg pwm_ch0_out_flag;

initial
begin
#100;
input_data = 1'b0;
wait(pwm_ch0_out_flag == 1'b1);
	forever
	begin
   	@(posedge `pwm_ch0_od); 
   	input_data = ~input_data;
	end
end

initial
begin
force `pwm_ch2_id = input_data;
end

initial
begin
   pwm_ch0_out_flag = 1'b0;
   @( posedge `TB_MODULE.PAD_MCURST);
    wait(`pwm_ch0_od === 1'h0);
    wait(`pwm_ch0_od === 1'h1);
    repeat (20) @(posedge `pwm_ch0_od);    
    pwm_ch0_out_flag = 1'b1;    
  $display("************pwm ch0 output test pass!************");
end
endmodule
module pwm_test();


`define pwm_ch0_od `TB_MODULE.PAD_PWM_CH0
`define pwm_ch2_id `TB_MODULE.PAD_PWM_CH2

reg input_data;
reg pwm_ch0_out_flag;

initial
begin
#100;
input_data = 1'b0;
wait(pwm_ch0_out_flag == 1'b1);
	forever
	begin
   	@(posedge `pwm_ch0_od); 
   	input_data = ~input_data;
	end
end

initial
begin
force `pwm_ch2_id = input_data;
end

initial
begin
   pwm_ch0_out_flag = 1'b0;
   @( posedge `TB_MODULE.PAD_MCURST);
    wait(`pwm_ch0_od === 1'h0);
    wait(`pwm_ch0_od === 1'h1);
    repeat (20) @(posedge `pwm_ch0_od);    
    pwm_ch0_out_flag = 1'b1;    
  $display("************pwm ch0 output test pass!************");
end
endmodule