I am trying to compile my UVM code, when I get the error Uxexpected SystemVerilog keywork “package”.
I was looking for a missing semicolon or some syntax error in my code, but I could not find anything.
I attach my code and the error obtained. The code is very extensive, so I attach the testbench, include and package files. Also the .do and a extract of the transcript with the error obtanied. Thanks!
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(2)
** at ../sim/testbench/../tests/define_pkg.sv(6): near “package”: syntax error, unexpected “SystemVerilog keyword ‘package’”.
– Importing package uvm_pkg (uvm-1.1d Built-in)
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(4)
** at ../sim/testbench/../agents/clock_reset_agent/sequence_lib/clock_reset_seq_pkg.sv(18): near “endpackage”: syntax error, unexpected “SystemVerilog keyword ‘endpackage’”.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(5)
** at ../sim/testbench/../agents/clock_reset_agent/clock_reset_agent_pkg.sv(11): (vlog-13006) Could not find the package (clock_reset_seq_pkg). Design read will continue, but expect a cascade of errors after this failure. Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(5)
** while parsing file included at ../sim/testbench/../agents/clock_reset_agent/clock_reset_agent_pkg.sv(16)
** at ..\sim\testbench..\agents\clock_reset_agent\clock_reset_driver.sv(4): (vlog-13006) Could not find the package (define_pkg). Design read will continue, but expect a cascade of errors after this failure. Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(5)
** while parsing file included at ../sim/testbench/../agents/clock_reset_agent/clock_reset_agent_pkg.sv(16)
** at ..\sim\testbench..\agents\clock_reset_agent\clock_reset_driver.sv(104): (vlog-2730) Undefined variable: ‘N_CYCLES_HARD_RESET’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(5)
** while parsing file included at ../sim/testbench/../agents/clock_reset_agent/clock_reset_agent_pkg.sv(16)
** at ..\sim\testbench..\agents\clock_reset_agent\clock_reset_driver.sv(104): (vlog-2730) Undefined variable: ‘CLK_PERIOD_NS’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(5)
** while parsing file included at ../sim/testbench/../agents/clock_reset_agent/clock_reset_agent_pkg.sv(16)
** at ..\sim\testbench..\agents\clock_reset_agent\clock_reset_driver.sv(126): (vlog-2730) Undefined variable: ‘CLK_PERIOD_NS’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(5)
** at ../sim/testbench/../agents/clock_reset_agent/clock_reset_agent_pkg.sv(21): near “endpackage”: syntax error, unexpected “SystemVerilog keyword ‘endpackage’”.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(6)
** at ../sim/testbench/../agents/clock_reset_agent/clock_reset_intf.sv(18): near “endinterface”: syntax error, unexpected “SystemVerilog keyword ‘endinterface’”.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(8)
** at ../sim/testbench/../agents/dh_fpga_agent/sequence_lib/dh_fpga_seq_pkg.sv(18): near “endpackage”: syntax error, unexpected “SystemVerilog keyword ‘endpackage’”.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(11): (vlog-13006) Could not find the package (dh_fpga_seq_pkg). Design read will continue, but expect a cascade of errors after this failure. Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(16)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_driver.sv(4): (vlog-13006) Could not find the package (define_pkg). Design read will continue, but expect a cascade of errors after this failure. Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(16)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_driver.sv(91): (vlog-2730) Undefined variable: ‘N_CYCLES_SOFT_RESET’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(16)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_driver.sv(91): (vlog-2730) Undefined variable: ‘CLK_PERIOD_NS’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(16)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_driver.sv(105): near “end”: syntax error, unexpected end.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9): (vlog-2730) Undefined variable: ‘dh_fpga_monitor’.
** Warning: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9): (vlog-2953) Incorrect usage of keyword ‘static’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9): near “function”: syntax error, unexpected function, expecting IDENTIFIER or TYPE_IDENTIFIER or NETTYPE_IDENTIFIER.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(9): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(24): Illegal declaration after the statement near line ‘13’. Declarations must precede statements. Look for stray semicolons.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(33): (vlog-2164) Class or package ‘dh_fpga_monitor’ not found.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(34): ‘super.new()’ call can be made only from within a class constructor.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(35): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(39): (vlog-2164) Class or package ‘dh_fpga_monitor’ not found.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(44): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(49): (vlog-2164) Class or package ‘dh_fpga_monitor’ not found.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(54): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(62): (vlog-2164) Class or package ‘dh_fpga_monitor’ not found.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(76): Illegal declaration after the statement near line ‘62’. Declarations must precede statements. Look for stray semicolons.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(17)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(115): near “end”: syntax error, unexpected end.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9): (vlog-2730) Undefined variable: ‘dh_fpga_sequencer’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9): Typedef ‘type_id’ multiply defined.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9): ‘get_type’ already exists; must not be redefined as a function.
** Warning: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9): (vlog-2953) Incorrect usage of keyword ‘static’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9): near “function”: syntax error, unexpected function, expecting IDENTIFIER or TYPE_IDENTIFIER or NETTYPE_IDENTIFIER.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(9): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(17): (vlog-2164) Class or package ‘dh_fpga_sequencer’ not found.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(18): ‘super.new()’ call can be made only from within a class constructor.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(18)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_sequencer.sv(19): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10): (vlog-2730) Undefined variable: ‘dh_fpga_agent’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10): Typedef ‘type_id’ multiply defined.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10): ‘get_type’ already exists; must not be redefined as a function.
** Warning: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10): (vlog-2953) Incorrect usage of keyword ‘static’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10): near “function”: syntax error, unexpected function, expecting IDENTIFIER or TYPE_IDENTIFIER or NETTYPE_IDENTIFIER.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** while parsing macro expansion: ‘uvm_component_utils’ starting at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(10): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error (suppressible): ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_monitor.sv(21): (vlog-2388) ‘monitor_to_scoreboard_aport’ already declared in this scope (run_phase).
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(22): Illegal declaration after the statement near line ‘14’. Declarations must precede statements. Look for stray semicolons.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(30): Illegal declaration after the statement near line ‘22’. Declarations must precede statements. Look for stray semicolons.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(40): (vlog-2164) Class or package ‘dh_fpga_agent’ not found.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(41): ‘super.new()’ call can be made only from within a class constructor.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(42): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(47): (vlog-2164) Class or package ‘dh_fpga_agent’ not found.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(61): (vlog-2730) Undefined variable: ‘m_sequencer’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(61): (vlog-2164) Class or package ‘dh_fpga_sequencer’ not found.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(61): near “::”: syntax error, unexpected ::, expecting ‘;’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(69): (vlog-2730) Undefined variable: ‘m_monitor’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(69): (vlog-2164) Class or package ‘dh_fpga_monitor’ not found.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(69): near “::”: syntax error, unexpected ::, expecting ‘;’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(76): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(81): (vlog-2164) Class or package ‘dh_fpga_agent’ not found.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(9)
** while parsing file included at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_agent_pkg.sv(19)
** at ..\sim\testbench..\agents\dh_fpga_agent\dh_fpga_agent.sv(93): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(10)
** at ../sim/testbench/../agents/dh_fpga_agent/dh_fpga_intf.sv(19): Illegal declaration after the statement near line ‘9’. Declarations must precede statements. Look for stray semicolons.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(7): Illegal declaration after the statement near line ‘7’. Declarations must precede statements. Look for stray semicolons.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): (vlog-2730) Undefined variable: ‘flash_seq_item’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): Typedef ‘type_id’ multiply defined.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): ‘get_type’ already exists; must not be redefined as a function.
** Warning: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): (vlog-2953) Incorrect usage of keyword ‘static’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): near “function”: syntax error, unexpected function, expecting IDENTIFIER or TYPE_IDENTIFIER or NETTYPE_IDENTIFIER.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): near “;”: syntax error, unexpected ‘;’, expecting ‘(’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): (vlog-2730) Undefined variable: ‘tmp’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): (vlog-2730) Undefined variable: ‘name’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): near “;”: syntax error, unexpected ‘;’, expecting ‘(’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): Illegal declaration after the statement near line ‘9’. Declarations must precede statements. Look for stray semicolons.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): (vlog-2730) Undefined variable: ‘tmp_data__’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(9): near “end”: syntax error, unexpected end.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(25): Illegal declaration after the statement near line ‘11’. Declarations must precede statements. Look for stray semicolons.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(34): (vlog-2164) Class or package ‘flash_seq_item’ not found.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(35): ‘super.new()’ call can be made only from within a class constructor.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(36): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(40): (vlog-2164) Class or package ‘flash_seq_item’ not found.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(41): near “;”: syntax error, unexpected ‘;’, expecting ‘(’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(48): (vlog-2730) Undefined variable: ‘addr’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(49): (vlog-2730) Undefined variable: ‘wdata’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(50): (vlog-2730) Undefined variable: ‘en_write_n’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(51): (vlog-2730) Undefined variable: ‘en_cs_n’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(52): (vlog-2730) Undefined variable: ‘rdata’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(54): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(58): (vlog-2164) Class or package ‘flash_seq_item’ not found.
Break key hit
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(61): Illegal declaration after the statement near line ‘58’. Declarations must precede statements. Look for stray semicolons.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(67): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(71): (vlog-2164) Class or package ‘flash_seq_item’ not found.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_seq_item.sv(73): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): (vlog-2730) Undefined variable: ‘flash_base_seq’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): Typedef ‘type_id’ multiply defined.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): ‘get_type’ already exists; must not be redefined as a function.
** Warning: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): (vlog-2953) Incorrect usage of keyword ‘static’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): near “function”: syntax error, unexpected function, expecting IDENTIFIER or TYPE_IDENTIFIER or NETTYPE_IDENTIFIER.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): near “;”: syntax error, unexpected ‘;’, expecting ‘(’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): near “;”: syntax error, unexpected ‘;’, expecting ‘(’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): Typedef ‘local_type_’ multiply defined.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): Illegal declaration after the statement near line ‘14’. Declarations must precede statements. Look for stray semicolons.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(14): near “end”: syntax error, unexpected end.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(30): (vlog-2164) Class or package ‘flash_base_seq’ not found.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(31): ‘super.new()’ call can be made only from within a class constructor.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(32): near “endfunction”: syntax error, unexpected endfunction, expecting endtask.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(39): (vlog-2164) Class or package ‘flash_base_seq’ not found.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(43): near “;”: syntax error, unexpected ‘;’, expecting ‘(’.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(47): near “;”: syntax error, unexpected ‘;’, expecting ‘(’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(57): Illegal declaration after the statement near line ‘47’. Declarations must precede statements. Look for stray semicolons.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(57): (vlog-2164) Class or package ‘flash_seq_item’ not found.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(58): (vlog-2730) Undefined variable: ‘rsq_item’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(58): (vlog-2164) Class or package ‘flash_seq_item’ not found.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(58): near “::”: syntax error, unexpected ::, expecting ‘;’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(78): (vlog-2730) Undefined variable: ‘memory’.
** Error: ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** while parsing file included at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(15)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(81): (vlog-2730) Undefined variable: ‘req_item’.
** Error (suppressible): ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** at ..\sim\testbench..\agents\flash_agent\sequence_lib\flash_base_seq.sv(91): (vlog-13163) End label ‘body’ does not match task name on line 55.
** Error: (vlog-13069) ** while parsing file included at ../sim/testbench/testbench.sv(5)
** while parsing file included at ../sim/testbench/../testbench/includes.sv(12)
** at ../sim/testbench/../agents/flash_agent/sequence_lib/flash_seq_pkg.sv(17): near “endpackage”: syntax error, unexpected “SystemVerilog keyword ‘endpackage’”.
SIGSEGV: segmentation violation
** Error: C:/questasim64_10.7c/win64/vlog failed.
Error in macro ./simTest.do line 36
C:/questasim64_10.7c/win64/vlog failed.
while executing
“vlog -coveropt 3 +cover -work work -f simTest.f +define+UVM_NO_DPI +define+UVM_REG_DATA_WIDTH=32”
In reply to kevinvig7:
An error message like this about a top-level keyword like 'package` usually means you are trying to compile a package inside another package, or forgot an endpackage or endmodule, or something like that.