data/full_repos/permissive/437677776/OOP_Testbench/env.sv
1: b'%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:1: Unsupported: classes\nclass env;\n^~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:5: syntax error, unexpected IDENTIFIER\n scoreboard  sb;\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:13: Unsupported: virtual data type\n virtual mac_if   vi;\n ^~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:14: Unsupported: virtual data type\n virtual mac_if  mi;\n ^~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:16: Unsupported: new constructor\n function new(input virtual mac_if vif, input virtual mac_if mif);\n          ^~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:16: Unsupported: virtual data type\n function new(input virtual mac_if vif, input virtual mac_if mif);\n                    ^~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:16: Unsupported: virtual data type\n function new(input virtual mac_if vif, input virtual mac_if mif);\n                                              ^~~~~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:18: Unsupported: this\n  this.vi    = vif;\n  ^~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:19: Unsupported: this\n  this.mi    = mif;\n  ^~~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:20: Unsupported: new with arguments\n  pktgen2drv = new();\n               ^~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:21: Unsupported: new with arguments\n  drv2sb     = new();\n               ^~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:22: Unsupported: new with arguments\n  mon2sb     = new();\n               ^~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:23: Unsupported: new with arguments\n  pktgen    = new(pktgen2drv);\n              ^~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:24: Unsupported: new with arguments\n  drv        = new(vif, pktgen2drv, drv2sb);\n               ^~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:25: Unsupported: new with arguments\n  mon        = new(mif, mon2sb);\n               ^~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:26: Unsupported: new with arguments\n  sb         = new(drv2sb, mon2sb);\n               ^~~\n%Error: data/full_repos/permissive/437677776/OOP_Testbench/env.sv:33: Unsupported: fork statements\n fork\n ^~~~\n%Error: Exiting due to 17 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function new(input virtual mac_if vif, input virtual mac_if mif);
		
		this.vi    = vif;
		this.mi    = mif;
		pktgen2drv = new();
		drv2sb     = new();
		mon2sb     = new();
		pktgen	   = new(pktgen2drv);
		drv        = new(vif, pktgen2drv, drv2sb);
		mon        = new(mif, mon2sb);
		sb         = new(drv2sb, mon2sb);
		
	endfunction
function new(input virtual mac_if vif, input virtual mac_if mif);

		
		this.vi    = vif;
		this.mi    = mif;
		pktgen2drv = new();
		drv2sb     = new();
		mon2sb     = new();
		pktgen	   = new(pktgen2drv);
		drv        = new(vif, pktgen2drv, drv2sb);
		mon        = new(mif, mon2sb);
		sb         = new(drv2sb, mon2sb);
		
	endfunction