Next: , Previous: Source representation, Up: GHDL implementation of VHDL


5.4 Library database

Each design unit analyzed is placed into a design library. By default, the name of this design library is ‘work’; however, this can be changed with the --work=NAME option of GHDL.

To keep the list of design units in a design library, GHDL creates library files. The name of these files is ‘NAME-objVER.cf’, where NAME is the name of the library, and VER the VHDL version (87 or 93) used to analyze the design units.

You don't have to know how to read a library file. You can display it using the -d of ghdl. The file contains the name of the design units, as well as the location and the dependencies.

The format may change with the next version of GHDL.