diff options
author | gingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7> | 2005-09-24 05:10:24 +0000 |
---|---|---|
committer | gingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7> | 2005-09-24 05:10:24 +0000 |
commit | 977ff5e02c6d2f9bfdabcf8b4e98b81e2d83e849 (patch) | |
tree | 7bcf8e7aff40a8b54d4af83e90cccd73568e77bb /libraries/README | |
download | ghdl-977ff5e02c6d2f9bfdabcf8b4e98b81e2d83e849.tar.gz ghdl-977ff5e02c6d2f9bfdabcf8b4e98b81e2d83e849.tar.bz2 ghdl-977ff5e02c6d2f9bfdabcf8b4e98b81e2d83e849.zip |
First import from sources
Diffstat (limited to 'libraries/README')
-rw-r--r-- | libraries/README | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libraries/README b/libraries/README new file mode 100644 index 000000000..d569a25a1 --- /dev/null +++ b/libraries/README @@ -0,0 +1,27 @@ +VHDL libraries. +--------------- + +* Filename convention: + +For a package XXXX, the file containing the declaration must be named XXXX.vhdl +and the file containing the body must be named XXXX-body.vhdl + +Note: this is not completly followed! + + +* Using Vhdl-87 or Vhdl-93: + +Lines that must be compiled only for vhdl-87 must have a --V87 comment at the +end, lines for vhdl-93 must a a --V93 comment. +Example: + procedure readline (variable f: in text; l: out line) --V87 + procedure readline (file f: text; l: out line) --V93 +For group of lines that must be compiled only for vhdl-93 (such as xnor +functions), use this: + --START-V93 + ...[lines to compile only with vhdl-93]... + --END-V93 +Makefile rules create .v87 and .v93 files from .vhdl files, and compile them +with the correct version. + +# Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold |