chaseruskin / legoHDL

An experimental package manager and development tool for Hardware Description Languages (HDL).
https://c-rus.github.io/legoHDL
MIT License
14 stars 2 forks source link

VHDL: Add support for identifying inherited packages #58

Closed chaseruskin closed 2 years ago

chaseruskin commented 2 years ago

The following code is found in OSVVM:

package ScoreBoardPkg_slv is new work.ScoreboardGenericPkg
  generic map (
...
);

It appears to create a specific instance of ScoreboardGenericPkg. VHDL file analysis must make sure to catch this and create the dependency for ScoreBoardPkg_slv to depend on ScoreboardGenericPkg.

chaseruskin commented 2 years ago

Here is an overview of VHDL-2008 features that will need more investigation.

chaseruskin commented 2 years ago

The OSVVM packages are now supported with this dependency feature from VHDL-2008. This issue is closing, but eventually more investigation into the 2008 std will be needed to create more robust VHDL file analysis process.