- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When trying to compile my design with Questa Starter Edition from Quartus 21.1, I get the following Warning. The compile subsequently blows up because the package is required by the design. No reason is given for ignoring the package declaration and I have been unable to find any answers via google.
** Warning: (vlog-2176) FILENAME(24): Package declaration PKG ignored during scan of library file.
I've replaced the actual file name with FILENAME and the package name with PKG in the above version of the Warning to make it easier to read here.
The file contains only the package definition. The line number (24) is the first line of code after the header comments and is simply the start of the package declaration.
This design compiles without error in VCS.
I am using the -sv option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I discovered the cause of the problem using the verror command. To look up the meaning of the error codes that are spit out by vlog, you can use the following command:
verror -all
Looking up the 2176 error code seen in my error message, it says:
vlog Message # 2176:
A SystemVerilog source file within a library file specified with -v
contains a package declaration that will not be compiled. Packages are
ignored during library file scanning.
I have been using the -v option to specify the files that contain package definitions, but for some reason, Questa has decided to ignore these. Why? Specifying the directory where they are located using the -y option prevents the above error.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for using Intel community forum,
Kindly expect some delay in the reply due to holiday.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I discovered the cause of the problem using the verror command. To look up the meaning of the error codes that are spit out by vlog, you can use the following command:
verror -all
Looking up the 2176 error code seen in my error message, it says:
vlog Message # 2176:
A SystemVerilog source file within a library file specified with -v
contains a package declaration that will not be compiled. Packages are
ignored during library file scanning.
I have been using the -v option to specify the files that contain package definitions, but for some reason, Questa has decided to ignore these. Why? Specifying the directory where they are located using the -y option prevents the above error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page