data/full_repos/permissive/437677776/OOP_Testbench/driver.sv
1: b"%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:1: Unsupported: classes\nclass driver;\n^~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:4: syntax error, unexpected IDENTIFIER\n mailbox  drv2sb;\n ^~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:9: Unsupported: virtual data type\n virtual mac_if  vi;\n ^~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:11: Unsupported: new constructor\n function new(input virtual mac_if   vif,\n          ^~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:11: Unsupported: virtual data type\n function new(input virtual mac_if   vif,\n                    ^~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:12: syntax error, unexpected IDENTIFIER, expecting ')'\n       input mailbox     pktgen2drv,\n                         ^~~~~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:28: syntax error, unexpected IDENTIFIER\n  pktgen2drv.get(pkt);  \n  ^~~~~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:48: Define or directive not defined: '`LANE7'\n    vi.cb.pkt_tx_data[`LANE7] <= pkt.tx_data[i];\n                      ^~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:49: Define or directive not defined: '`LANE6'\n                                vi.cb.pkt_tx_data[`LANE6] <= pkt.tx_data[i+1];\n                                                  ^~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:50: Define or directive not defined: '`LANE5'\n                                vi.cb.pkt_tx_data[`LANE5] <= pkt.tx_data[i+2];\n                                                  ^~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:51: Define or directive not defined: '`LANE4'\n                                vi.cb.pkt_tx_data[`LANE4] <= pkt.tx_data[i+3];\n                                                  ^~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:52: Define or directive not defined: '`LANE3'\n                                vi.cb.pkt_tx_data[`LANE3] <= pkt.tx_data[i+4];\n                                                  ^~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:53: Define or directive not defined: '`LANE2'\n                                vi.cb.pkt_tx_data[`LANE2] <= pkt.tx_data[i+5];\n                                                  ^~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:54: Define or directive not defined: '`LANE1'\n                                vi.cb.pkt_tx_data[`LANE1] <= pkt.tx_data[i+6];\n                                                  ^~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/driver.sv:55: Define or directive not defined: '`LANE0'\n                                vi.cb.pkt_tx_data[`LANE0] <= pkt.tx_data[i+7];\n                                                  ^~~~~~\n%Error: Cannot continue\n        ... See the manual and https://verilator.org for more assistance.\n"
function new(input virtual mac_if   vif,
		     input mailbox	    pktgen2drv,
		     input mailbox 	    drv2sb     );

		this.vi         = vif;
		this.pktgen2drv = pktgen2drv;
		this.drv2sb     = drv2sb;
		pkt 	        = new();	
	
	endfunction
function new(input virtual mac_if   vif,
		     input mailbox	    pktgen2drv,
		     input mailbox 	    drv2sb     );


		this.vi         = vif;
		this.pktgen2drv = pktgen2drv;
		this.drv2sb     = drv2sb;
		pkt 	        = new();	
	
	endfunction