The --enable-defenv configure option added in 3.660 is now the default.
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1014 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
parent
a16477d84f
commit
ebe5711b40
5
Changes
5
Changes
|
|
@ -5,6 +5,9 @@ indicates the contributor was also the author of the fix; Thanks!
|
||||||
|
|
||||||
* Verilator 3.66***
|
* Verilator 3.66***
|
||||||
|
|
||||||
|
*** The --enable-defenv configure option added in 3.660 is now the default.
|
||||||
|
This hard-codes a default for VERILATOR_ROOT etc in the executables.
|
||||||
|
|
||||||
*** Add --top-module option to select between multiple tops. [Stefan Thiede]
|
*** Add --top-module option to select between multiple tops. [Stefan Thiede]
|
||||||
|
|
||||||
**** Fix SystemVerilog parameterized defines with `` expansion,
|
**** Fix SystemVerilog parameterized defines with `` expansion,
|
||||||
|
|
@ -14,6 +17,8 @@ indicates the contributor was also the author of the fix; Thanks!
|
||||||
|
|
||||||
**** Fix dropping of backslash quoted-quote at end of $display.
|
**** Fix dropping of backslash quoted-quote at end of $display.
|
||||||
|
|
||||||
|
**** Fix missing test_v in install datadir. [Holger Waechtler]
|
||||||
|
|
||||||
* Verilator 3.660 2008/03/23
|
* Verilator 3.660 2008/03/23
|
||||||
|
|
||||||
*** Add support for hard-coding VERILATOR_ROOT etc in the executables,
|
*** Add support for hard-coding VERILATOR_ROOT etc in the executables,
|
||||||
|
|
|
||||||
|
|
@ -227,6 +227,7 @@ installdata:
|
||||||
cp -r test_c $(pkgdatadir)/examples
|
cp -r test_c $(pkgdatadir)/examples
|
||||||
cp -r test_sc $(pkgdatadir)/examples
|
cp -r test_sc $(pkgdatadir)/examples
|
||||||
cp -r test_sp $(pkgdatadir)/examples
|
cp -r test_sp $(pkgdatadir)/examples
|
||||||
|
cp -r test_v $(pkgdatadir)/examples
|
||||||
|
|
||||||
VL_INST_DATA_FILES = verilator.1
|
VL_INST_DATA_FILES = verilator.1
|
||||||
install: all_nomsg installbin installman installdata install-msg
|
install: all_nomsg installbin installman installdata install-msg
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,9 @@ AC_CONFIG_HEADER(src/config_build.h)
|
||||||
|
|
||||||
dnl Special Substitutions
|
dnl Special Substitutions
|
||||||
AC_ARG_ENABLE(defenv,
|
AC_ARG_ENABLE(defenv,
|
||||||
[AS_HELP_STRING([--enable-defenv], [hardcode default environment variables])],
|
[AS_HELP_STRING([--disable-defenv], [disable hardcoded default environment variables])],
|
||||||
CFG_WITH_DEFENV=1,)
|
CFG_WITH_DEFENV=$enableval,
|
||||||
|
CFG_WITH_DEFENV=1)
|
||||||
AC_SUBST(CFG_WITH_DEFENV)
|
AC_SUBST(CFG_WITH_DEFENV)
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ endif
|
||||||
|
|
||||||
# Allow RPM builds to specify hardcoded data directories
|
# Allow RPM builds to specify hardcoded data directories
|
||||||
# To do this:
|
# To do this:
|
||||||
ifneq ($(CFG_WITH_DEFENV),)
|
ifeq ($(CFG_WITH_DEFENV),yes)
|
||||||
CPPFLAGS += -DDEFENV_SYSTEMC=\"$(SYSTEMC)\"
|
CPPFLAGS += -DDEFENV_SYSTEMC=\"$(SYSTEMC)\"
|
||||||
CPPFLAGS += -DDEFENV_SYSTEMC_ARCH=\"$(SYSTEMC_ARCH)\"
|
CPPFLAGS += -DDEFENV_SYSTEMC_ARCH=\"$(SYSTEMC_ARCH)\"
|
||||||
CPPFLAGS += -DDEFENV_SYSTEMPERL=\"$(SYSTEMPERL)\"
|
CPPFLAGS += -DDEFENV_SYSTEMPERL=\"$(SYSTEMPERL)\"
|
||||||
|
|
|
||||||
|
|
@ -382,7 +382,7 @@ string V3PreProcImp::defineSubst(V3DefineRef* refp) {
|
||||||
// and would make recursive definitions and parameter handling nasty.
|
// and would make recursive definitions and parameter handling nasty.
|
||||||
//
|
//
|
||||||
// Note we parse the definition parameters and value here. If a
|
// Note we parse the definition parameters and value here. If a
|
||||||
// parameterized define is used many, many times, we could cache the
|
// parametrized define is used many, many times, we could cache the
|
||||||
// parsed result.
|
// parsed result.
|
||||||
UINFO(4,"defineSubstIn `"<<refp->name()<<" "<<refp->params()<<endl);
|
UINFO(4,"defineSubstIn `"<<refp->name()<<" "<<refp->params()<<endl);
|
||||||
for (unsigned i=0; i<refp->args().size(); i++) {
|
for (unsigned i=0; i<refp->args().size(); i++) {
|
||||||
|
|
@ -595,7 +595,7 @@ int V3PreProcImp::getRawToken() {
|
||||||
while ((pos=buf.find("\n")) != string::npos) { buf.replace(pos, 1, "\\n"); }
|
while ((pos=buf.find("\n")) != string::npos) { buf.replace(pos, 1, "\\n"); }
|
||||||
while ((pos=buf.find("\r")) != string::npos) { buf.replace(pos, 1, "\\r"); }
|
while ((pos=buf.find("\r")) != string::npos) { buf.replace(pos, 1, "\\r"); }
|
||||||
fprintf (stderr, "%d: RAW %s s%d dr%d: %-10s: %s\n",
|
fprintf (stderr, "%d: RAW %s s%d dr%d: %-10s: %s\n",
|
||||||
fileline()->lineno(), m_off?"of":"on", m_state, m_defRefs.size(),
|
fileline()->lineno(), m_off?"of":"on", m_state, (int)m_defRefs.size(),
|
||||||
tokenName(tok), buf.c_str());
|
tokenName(tok), buf.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue