data/full_repos/permissive/170402453/SMPS_ZVS/Controller.v
 line:41: before: "."
1: b'%Error: data/full_repos/permissive/170402453/SMPS_ZVS/Controller.v:42: Cannot find file containing module: \'PWM200\'\n PWM200 p1(clk, DutyCycle, DCDC_Driver);  \n ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/170402453/SMPS_ZVS,data/full_repos/permissive/170402453/PWM200\n             data/full_repos/permissive/170402453/SMPS_ZVS,data/full_repos/permissive/170402453/PWM200.v\n             data/full_repos/permissive/170402453/SMPS_ZVS,data/full_repos/permissive/170402453/PWM200.sv\n             PWM200\n             PWM200.v\n             PWM200.sv\n             obj_dir/PWM200\n             obj_dir/PWM200.v\n             obj_dir/PWM200.sv\n%Warning-WIDTH: data/full_repos/permissive/170402453/SMPS_ZVS/Controller.v:54: Operator FUNCREF \'maxDifference\' expects 16 bits on the Function Argument, but Function Argument\'s SHIFTR generates 24 bits.\n                                                                             : ... In instance DCDCController\n  DutyCycle <= maxDifference(maxDifference(voltageSet,DCDC_VSense>>8),\n                             ^~~~~~~~~~~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/170402453/SMPS_ZVS/Controller.v:55: Operator FUNCREF \'maxDifference\' expects 16 bits on the Function Argument, but Function Argument\'s SHIFTR generates 24 bits.\n                                                                             : ... In instance DCDCController\n           maxDifference(currentSet,DCDC_CSense>>8))>>8;\n           ^~~~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/170402453/SMPS_ZVS/Controller.v:58: Operator GT expects 24 bits on the RHS, but RHS\'s VARREF \'voltageSet\' generates 16 bits.\n                                                                             : ... In instance DCDCController\n  if(DCDC_VSense>>8 > voltageSet) DutyCycle <= 0; \n                    ^\n%Warning-WIDTH: data/full_repos/permissive/170402453/SMPS_ZVS/Controller.v:59: Operator GT expects 24 bits on the RHS, but RHS\'s VARREF \'currentSet\' generates 16 bits.\n                                                                             : ... In instance DCDCController\n  if(DCDC_CSense>>8 > currentSet) DutyCycle <= 0;  \n                    ^\n%Warning-WIDTH: data/full_repos/permissive/170402453/SMPS_ZVS/Controller.v:62: Operator GT expects 24 bits on the RHS, but RHS\'s VARREF \'voltageSet\' generates 16 bits.\n                                                                             : ... In instance DCDCController\n  DCDC_CV <= (DCDC_VSense<<8 > voltageSet) ? 1 : 0;\n                             ^\n%Error: Exiting due to 1 error(s), 5 warning(s)\n'
function [15:0] maxDifference;
		input [15:0] a,b;
		begin
			maxDifference = (a<b) ? b-a : a-b;
		end
	endfunction
function [15:0] maxDifference;

		input [15:0] a,b;
		begin
			maxDifference = (a<b) ? b-a : a-b;
		end
	endfunction