data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v
 line:116: before: "."
1: b'%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:3: Cannot find include file: common_defines.v\n`include "common_defines.v" \n         ^~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source,data/full_repos/permissive/114714167/common_defines.v\n             data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source,data/full_repos/permissive/114714167/common_defines.v.v\n             data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source,data/full_repos/permissive/114714167/common_defines.v.sv\n             common_defines.v\n             common_defines.v.v\n             common_defines.v.sv\n             obj_dir/common_defines.v\n             obj_dir/common_defines.v.v\n             obj_dir/common_defines.v.sv\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:12: Define or directive not defined: \'`PWM_VALUE_BIT_WIDTH\'\n wire [`PWM_VALUE_BIT_WIDTH - 1:0] throttle_val;\n       ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:13: Define or directive not defined: \'`PWM_VALUE_BIT_WIDTH\'\n wire [`PWM_VALUE_BIT_WIDTH - 1:0] yaw_val;\n       ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:14: Define or directive not defined: \'`PWM_VALUE_BIT_WIDTH\'\n wire [`PWM_VALUE_BIT_WIDTH - 1:0] roll_val;\n       ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:15: Define or directive not defined: \'`PWM_VALUE_BIT_WIDTH\'\n wire [`PWM_VALUE_BIT_WIDTH - 1:0] pitch_val;\n       ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:16: Define or directive not defined: \'`PWM_VALUE_BIT_WIDTH\'\n reg [`PWM_VALUE_BIT_WIDTH - 1:0] expected_val;\n      ^~~~~~~~~~~~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:52: Unsupported: Ignoring delay on this delayed statement.\n  #5000 resetn = 1;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:53: Unsupported: Ignoring delay on this delayed statement.\n  #5000;\n  ^\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:55: Define or directive not defined: \'`THROTTLE_DEFAULT_PULSE_TIME_HIGH_US\'\n  expected_val = map_pwm_to_value(`THROTTLE_DEFAULT_PULSE_TIME_HIGH_US);\n                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:61: Define or directive not defined: \'`YAW_DEFAULT_PULSE_TIME_HIGH_US\'\n  expected_val = map_pwm_to_value(`YAW_DEFAULT_PULSE_TIME_HIGH_US);\n                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:67: Define or directive not defined: \'`ROLL_DEFAULT_PULSE_TIME_HIGH_US\'\n  expected_val = map_pwm_to_value(`ROLL_DEFAULT_PULSE_TIME_HIGH_US);\n                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:73: Define or directive not defined: \'`PITCH_DEFAULT_PULSE_TIME_HIGH_US\'\n  expected_val = map_pwm_to_value(`PITCH_DEFAULT_PULSE_TIME_HIGH_US);\n                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:80: Unsupported: Ignoring delay on this delayed statement.\n    #10 $finish;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:83: Unsupported: Ignoring delay on this delayed statement.\n  #10 $finish;\n  ^\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:86: Define or directive not defined: \'`PWM_VALUE_BIT_WIDTH\'\n function [`PWM_VALUE_BIT_WIDTH - 1:0] map_pwm_to_value(input [`PWM_TIME_BIT_WIDTH - 1:0] pwm_time_high_us);\n           ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:86: Define or directive not defined: \'`PWM_TIME_BIT_WIDTH\'\n function [`PWM_VALUE_BIT_WIDTH - 1:0] map_pwm_to_value(input [`PWM_TIME_BIT_WIDTH - 1:0] pwm_time_high_us);\n                                                               ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:88: Define or directive not defined: \'`MIN_PWM_TIME_HIGH_US\'\n   pwm_time_high_us = pwm_time_high_us - `MIN_PWM_TIME_HIGH_US;\n                                         ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:88: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n   pwm_time_high_us = pwm_time_high_us - `MIN_PWM_TIME_HIGH_US;\n                                                              ^\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:94: Define or directive not defined: \'`PWM_VALUE_BIT_WIDTH\'\n        input [`PWM_VALUE_BIT_WIDTH - 1:0] actual_val,\n               ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:95: Define or directive not defined: \'`PWM_VALUE_BIT_WIDTH\'\n          input [`PWM_VALUE_BIT_WIDTH - 1:0] expected_val);\n                 ^~~~~~~~~~~~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:97: Unsupported: Ignoring delay on this delayed statement.\n   #1 $display("########################################################################");\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:98: Unsupported: Ignoring delay on this delayed statement.\n   #1 $display("\\tTEST FAILED(%s):", val_name);\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:99: Unsupported: Ignoring delay on this delayed statement.\n   #1 $display("\\t\\tactual=%d expected=%d", actual_val, expected_val);\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:100: Unsupported: Ignoring delay on this delayed statement.\n   #1 $display("########################################################################");\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:106: Unsupported: Ignoring delay on this delayed statement.\n   #1 $display("########################################################################");\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:107: Unsupported: Ignoring delay on this delayed statement.\n   #1 $display("########################################################################");\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:108: Unsupported: Ignoring delay on this delayed statement.\n   #1 $display("########################### ALL TESTS PASSED ###########################");\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:109: Unsupported: Ignoring delay on this delayed statement.\n   #1 $display("########################################################################");\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/114714167/Source-Code/Drone2/impl1/source/test_receiver.v:110: Unsupported: Ignoring delay on this delayed statement.\n   #1 $display("########################################################################");\n   ^\n%Error: Exiting due to 16 error(s), 13 warning(s)\n'
function [`PWM_VALUE_BIT_WIDTH - 1:0] map_pwm_to_value(input [`PWM_TIME_BIT_WIDTH - 1:0] pwm_time_high_us);
		begin
			pwm_time_high_us = pwm_time_high_us - `MIN_PWM_TIME_HIGH_US;
			map_pwm_to_value = pwm_time_high_us[9:2];
		end
	endfunction
function [`PWM_VALUE_BIT_WIDTH - 1:0] map_pwm_to_value(input [`PWM_TIME_BIT_WIDTH - 1:0] pwm_time_high_us);

		begin
			pwm_time_high_us = pwm_time_high_us - `MIN_PWM_TIME_HIGH_US;
			map_pwm_to_value = pwm_time_high_us[9:2];
		end
	endfunction