ram999
March 21, 2019, 3:53pm
1
hi,
im getting the below error
pls look it into it
** Error: (vlog-13069) ** while parsing file included at top.sv(11)
** while parsing file included at fifopackages.svh(15)
** at read_xtn.sv(1): near “class”: syntax error, unexpected class, expecting IDENTIFIER or ‘=’.
** Error: ** while parsing file included at top.sv(11)
** while parsing file included at fifopackages.svh(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at read_xtn.sv(2)
** at read_xtn.sv(2): (vlog-2730) Undefined variable: ‘read_xtn’.
** Error: ** while parsing file included at top.sv(11)
** while parsing file included at fifopackages.svh(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at read_xtn.sv(2)
** at read_xtn.sv(2): Typedef ‘type_id’ multiply defined.
** Error: ** while parsing file included at top.sv(11)
** while parsing file included at fifopackages.svh(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at read_xtn.sv(2)
** at read_xtn.sv(2): ‘get_type’ already exists; must not be redefined as a function.
** Warning: ** while parsing file included at top.sv(11)
** while parsing file included at fifopackages.svh(15)
** while parsing macro expansion: ‘uvm_object_utils’ starting at read_xtn.sv(2)
** at read_xtn.sv(2): (vlog-2953) Incorrect usage of keyword ‘static’.
cgales
March 21, 2019, 9:16pm
2
In reply to ram999 :
Without seeing any of your code, it is impossible to determine what the problem could be.
Typically, an error on the first line of a file indicates that the previous file in the package wasn’t correct. Perhaps you are missing an ‘endclass’ statement?