-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Sending a package file containing multiple package definitions to slvcodec doesn't work. It says that there are more than one package with the same name. A package file often starts with:
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
When putting more than one package in a file, the "use" clause are going to be repeated at the beginning of each package. slvcodec will see it as multiple packages with the same name. I work around that by using one file per package. The inconvenient is when using open source IPs where I have no control over how they do it. When I fetch from origin, I manually split the package in multiple files and add the new files in the build.
I found that passing this file to slvcodec:
https://github.com/stnolting/neorv32/blob/main/rtl/core/neorv32_package.vhd
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels