vhdlpp Command Line Flags ========================= * -D Debug flags. The token can be: * yydebug | no-yydebug * entities= * -L Library path. Add the directory name to the front of the library search path. The library search path is initially empty. * -V Display version on stdout * -v Verbose: Display version on stderr, and enable verbose messages to stderr. * -w Work path. This is the directory where the working directory is. Library Format -------------- The vhdlpp program stores libraries as directory that contain packages. The name of the directory (in lower case) is the name of the library as used on the "import" statement. Within that library, there are packages in files named .pkg. For example:: /... sample/... test1.pkg test2.pkg bar/... test3.pkg Use the "+vhdl-libdir+" record in a config file to tell Icarus Verilog that is a place to look for libraries. Then in your VHDL code, access packages like this:: library sample; library bar; use sample.test1.all; use bar.test3.all; The \*.pkg files are just VHDL code containing only the package with the same name. When Icarus Verilog encounters the "use ..*;" statement, it looks for the .pkg file in the library and parses that file to get the package header declared therein.