summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ghdl.texi23
-rw-r--r--translate/gcc/Make-lang.in6
-rw-r--r--translate/gcc/README2
-rwxr-xr-xtranslate/gcc/dist.sh7
-rw-r--r--translate/ghdldrv/ghdlmain.adb2
-rw-r--r--version.ads4
6 files changed, 29 insertions, 15 deletions
diff --git a/doc/ghdl.texi b/doc/ghdl.texi
index 8d09155..2e324be 100644
--- a/doc/ghdl.texi
+++ b/doc/ghdl.texi
@@ -11,12 +11,12 @@
@titlepage
@title GHDL guide
@subtitle GHDL, a VHDL compiler
-@subtitle For GHDL version 0.26 (Sokcho edition)
+@subtitle For GHDL version 0.27 (Sokcho edition)
@author Tristan Gingold
@c The following two commands start the copyright page.
@page
@vskip 0pt plus 1filll
-Copyright @copyright{} 2002, 2003, 2004, 2005, 2006, 2007 Tristan Gingold.
+Copyright @copyright{} 2002, 2003, 2004, 2005, 2006, 2007, 2008 Tristan Gingold.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
@@ -796,13 +796,16 @@ working (due to case sensitivity or forbidden characters in filenames).
@code{VHDL} rules forbides you to add units in the @samp{std} library.
Furthermode, you should not put units in the @samp{ieee} library.
-@item --workdir=@var{PATH}
+@item --workdir=@var{DIR}
@cindex @option{--workdir} switch
Specify the directory where the @samp{WORK} library is. When this
option is not present, the @samp{WORK} library is in the current
directory. The object files created by the compiler are always placed
in the same directory as the @samp{WORK} library.
+Use option @option{-P} to specify where libraries other than @samp{WORK}
+are placed.
+
@item --std=@var{STD}
@cindex @option{--std} switch
Specify the standard to use. By default, the standard is @samp{93c}, which
@@ -850,9 +853,9 @@ not standard but widely mis-used package.
To avoid errors, you must use the same @code{IEEE} library for all units of
your design, and during elaboration.
-@item -P@var{PATH}
+@item -P@var{DIRECTORY}
@cindex @option{-P} switch
-Add @var{PATH} to the end of the list of directories to be searched for
+Add @var{DIRECTORY} to the end of the list of directories to be searched for
library files.
The @code{WORK} library is always searched in the path specified by the
@@ -1562,6 +1565,16 @@ level would only display a message.
@samp{--assert-level=none} prevents any assertion violation to stop
simulation.
+@item --ieee-asserts=@var{POLICY}
+@cindex @option{--ieee-asserts} option
+Select how the assertions from @samp{ieee} units are
+handled. @var{POLICY} can be @samp{enable} (the default),
+@samp{disable} which disables all assertion from @samp{ieee} packages
+and @samp{disable-at-0} which disables only at start of simulation.
+
+This option can be useful to avoid assertion message from
+@samp{ieee.numeric_std} (and other @samp{ieee} packages).
+
@item --stop-time=@var{TIME}
@cindex @option{--stop-time} option
Stop the simulation after @var{TIME}. @var{TIME} is expressed as a time
diff --git a/translate/gcc/Make-lang.in b/translate/gcc/Make-lang.in
index 0c2cc0f..0139c2c 100644
--- a/translate/gcc/Make-lang.in
+++ b/translate/gcc/Make-lang.in
@@ -66,7 +66,7 @@ agcc_srcdir=$(srcdir)/vhdl
agcc_objdir=.
AGCC_GCCSRC_DIR=$(srcdir)/..
-AGCC_GCCOBJ_DIR=..
+AGCC_GCCOBJ_DIR=../
####gcc Makefile.inc
@@ -131,9 +131,9 @@ vhdl.install-common: ghdl$(exeext)
install-info:: $(DESTDIR)$(infodir)/ghdl.info
-vhdl.install-info: ghdl.info
+vhdl.install-info: doc/ghdl.info
-rm -rf $(infodir)/ghdl.info*
- $(INSTALL_DATA) ghdl.info* $(DESTDIR)$(infodir)
+ $(INSTALL_DATA) doc/ghdl.info* $(DESTDIR)$(infodir)
-chmod a-x $(DESTDIR)$(infodir)/ghdl.info*
install-ghdllib:
diff --git a/translate/gcc/README b/translate/gcc/README
index 0ef1a8b..d2d49a1 100644
--- a/translate/gcc/README
+++ b/translate/gcc/README
@@ -29,7 +29,7 @@ Building GHDL from sources:
Required:
* the sources of @GCCVERSION@ (at least the core part).
Note: other versions of gcc sources have not been tested.
-* the Ada95 GNAT compiler (GNAT v3.15p and GNAT GPL 2005 are known to work;
+* the Ada95 GNAT compiler (GNAT GPL 2005 are known to work;
Ada compilers in most Linux distributions are more or less buggy)
* GNU/Linux for ix86 (pc systems) (porting is necessary for other systems)
diff --git a/translate/gcc/dist.sh b/translate/gcc/dist.sh
index 7819dd8..97dff90 100755
--- a/translate/gcc/dist.sh
+++ b/translate/gcc/dist.sh
@@ -39,7 +39,7 @@
set -e
# GCC version
-GCCVERSION=4.1.2
+GCCVERSION=4.2.4
# Machine name used by GCC
MACHINE=i686-pc-linux-gnu
# Directory where GCC sources (and objects) stay.
@@ -170,7 +170,7 @@ do_compile ()
rm -rf $GCCDISTOBJ
mkdir $GCCDISTOBJ
cd $GCCDISTOBJ
- ../gcc-$GCCVERSION/configure --enable-languages=vhdl --prefix=$PREFIX
+ ../gcc-$GCCVERSION/configure --enable-languages=vhdl --prefix=$PREFIX --disable-bootstrap
make CFLAGS="-O -g"
make -C gcc vhdl.info
cd $CWD
@@ -314,6 +314,7 @@ do_gtkwave_patch ()
# Update the doc
do_website ()
{
+ cp "$DOWNLOAD_HTML" "$DOWNLOAD_HTML".old
sed -e "
/SRC-HREF/ s/href=\".*\"/href=\"$tarfile.bz2\"/
/BIN-HREF/ s/href=\".*\"/href=\"$bindirname.tar\"/
@@ -326,7 +327,7 @@ do_website ()
<td><a href=\"$bindirname.tar\">\\
$bindirname.tar</a></td>\\
</tr>
-" < $DOWNLOAD_HTML > "$DOWNLOAD_HTML".new
+" < "$DOWNLOAD_HTML".old > "$DOWNLOAD_HTML"
dir=../../website/ghdl
echo "Updating $dir"
rm -rf $dir
diff --git a/translate/ghdldrv/ghdlmain.adb b/translate/ghdldrv/ghdlmain.adb
index a46e171..0f43929 100644
--- a/translate/ghdldrv/ghdlmain.adb
+++ b/translate/ghdldrv/ghdlmain.adb
@@ -226,7 +226,7 @@ package body Ghdlmain is
Put_Line ("Written by Tristan Gingold.");
New_Line;
-- Display copyright. Assume 80 cols terminal.
- Put_Line ("Copyright (C) 2003, 2004, 2005, 2006, 2007 Tristan Gingold.");
+ Put_Line ("Copyright (C) 2003 - 2008 Tristan Gingold.");
Put_Line ("GHDL is free software, covered by the "
& "GNU General Public License. There is NO");
Put_Line ("warranty; not even for MERCHANTABILITY or"
diff --git a/version.ads b/version.ads
index f8c6806..78e26b9 100644
--- a/version.ads
+++ b/version.ads
@@ -1,5 +1,5 @@
package Version is
Ghdl_Release : constant String :=
- "GHDL 0.26dev (20070408) [Sokcho edition]";
- Ghdl_Ver : constant String := "0.26";
+ "GHDL 0.28dev (20080721) [Sokcho edition]";
+ Ghdl_Ver : constant String := "0.28dev";
end Version;