Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Aug 16, 2012
  1. @caryr

    Remove more CVS stuff

    caryr authored
    Remove the CVS information in the documentation and the remaining
    tgt-* directories.
  2. @caryr
Commits on Jun 7, 2012
  1. @wackston

    Extend VPI and build to for SIMetrix cosimulation

    wackston authored committed
    Added: basic vpiPort VPI Objects for vpiModulkes
        vpiDirection, vpiPortIndex,   vpiName, vpiSize attributes
       Since ports do not exist as net-like entities (nets either side
       module instance boundaries are in effect connect directly in
       the language front-ends internal representation) the port information
       is effectively just meta-data passed through t-dll  interface and
       output as a additional annotation of module scopes in vvp.
    Added: vpiLocalParam attribute for vpiParameter VPI objects
    Added: support build for 32-bit target on 64-bit host (--with-m32
       option to and minor tweaks to Makefiles and systemc-vpi).
Commits on Dec 24, 2011
Commits on Dec 20, 2011
Commits on Dec 16, 2011
  1. @caryr

    Update configure and Makefiles for cross compiling.

    caryr authored
    There are still a couple issues with cross compiling, but this patch
    addresses most of the issues.
Commits on Oct 27, 2011
  1. Workaround for MinGW non-standard strtod.

    Martin Whitaker authored committed
    MinGW has reverted to using the Microsoft msvcrt0 implementation
    of the strtod() function. This implementation doesn't accept "INF"
    "NaN". MinGW does provide a C99 compliant implementation of this
    function called __strtod(). We need to force the linker to replace
    all references to strtod() with references to __strtod().
Commits on Jan 19, 2011
  1. Introduce shell of vhdlpp program.

    Create the makefiles and configuration scripts to hold together
    the vhdlpp front-end program. Create a shell main.
Commits on Nov 2, 2010
  1. @caryr

    Add a configure check for -Wextra vs -W

    caryr authored committed
    This patch adds a configure check to see if gcc supports -Wextra.
    If it does then we use it instead of -W since -Wextra is a more
    descriptive name.
  2. @caryr

    Make ivl_alloc.h the last include so it doesn't effect any system inc…

    caryr authored committed
    In ivl_alloc.h we redefine malloc(), realloc() and calloc() to have
    standard error checking. We don't want to do this for anything that
    comes from the standard headers. This specifically doesn't work if
    a C++ header files does std::malloc, etc.
    Also change to -W instead of -Wextra since that is more portable. I
    plan to add a check from -Wextra and use it when available since it
    is more descriptive.
Commits on Oct 15, 2010
  1. @caryr

    Add -Wextra for C++ compiling in the vpi and vvp directory.

    caryr authored committed
    This patch adds -Wextra to the compilation flags for C++ files in
    the vvp and vpi subdirectories. It also fixes all the problems
    found while adding -Wextra. This mostly entailed removing some of
    the unused arguments, removing the name for others and using the
    correct number of initializers.
Commits on Jun 1, 2010
  1. @caryr

    Remove malloc.h support and for C++ files use <c...> include files.

    caryr authored committed
    The functions (malloc, free, etc.) that used to be provided in
    malloc.h are now provided in cstdlib for C++ files and stdlib.h for
    C files. Since we require a C99 compliant compiler it makes sense
    that malloc.h is no longer needed.
    This patch also modifies all the C++ files to use the <c...>
    version of the standard C header files (e.g. <cstdlib> vs
    <stdlib.h>). Some of the files used the C++ version and others did
    not. There are still a few other header changes that could be done,
    but this takes care of much of it.
Commits on May 19, 2010
  1. @caryr

    Check that the C and C++ compilers match.

    caryr authored committed
    Since we have not tested and some of the flags are not configured to
    support mixed compiler compilation do not allow it for now.
Commits on May 18, 2010
  1. @caryr

    More configuration updates for OpenSolaris

    caryr authored committed
    This patch updates the shared and PICFLAGS to support the Sun compiler.
    It also reorganizes how the dependency and warning flags are set.
Commits on May 14, 2010
  1. @caryr

    Use -xMMD instead of -xMD on OpenSolaris.

    caryr authored committed
    Using -xMD generates dependencies for all files including the
    system files. This could point to some system .cc files and
    was causing GNU make to try to build these files if the
    dependency files existed. Using -xMMD generates only the
    dependencies outside the system directories.
    It's possible that the OpenSolaris make knows how to deal with
    this correctly, but Icarus needs GNU make.
  2. @caryr

    Fix new shadow issues and add -Wshadow to gcc compile.

    caryr authored committed
    Some new shadow issues have crept in. This patch fixes these new
    issues and adds -Wshadow to the normal warning flags to keep any
    new occurrences from happening.
  3. @caryr

    Update all files to support OpenSolaris

    caryr authored committed
    This patch updates all the files and
    as follows:
    Do not use the -Wall warning flag when using the SunPro compiler.
    The SunPro compiler uses -xMD instead of -MD.
    There are still more fixes needed before Icarus will compile
    on OpenSolaris.
Commits on Mar 25, 2010
  1. @caryr

    Start adding vlog95 (1364-1995) back end.

    caryr authored committed
    This is the initial commit in an effort to build a 1364-1995
    back end for Icarus Verilog. It is expected that this back end
    will allow the user to write 1364-2005 RTL and then using this
    back end (converter) generate functionally equivalent 1364-1995
    compatible code. This can be used to support older tools in a
    work flow. The primary focus will be simulation equivalence,
    though I expect to verify logical equivalence as well.
Commits on Jan 9, 2010
Commits on Dec 25, 2009
  1. @caryr

    Having lround() does not mean llround() is available.

    caryr authored committed
    We need to check for both lround() and llround() for at
    least Cygwin.
Commits on Dec 3, 2009
  1. @caryr

    Update lxt/lxt2 files to latest from GTKWave.

    caryr authored committed
    This patch updated the four file lxt_write.{c,h} and
    lxt2_write.{c,h} to the latest ones from GTKWave. This
    required adding the wavealloc.h include file and an
    update to and vpi/ to add
    checks/definitions for ALLOCA and FSEEKO.
Commits on Oct 9, 2009
  1. @caryr

    We must have autoconf version 2.60 or later.

    caryr authored committed
    When AC_PROG_CC_C99 was added recently we created an implicit
    requirement for autoconf version 2.60. This patch makes that
    implicit requirement and explicit requirement.
Commits on Oct 8, 2009
  1. @caryr

    Add a configure check to see if uint64_t and unsigned long are identi…

    caryr authored committed
    This is needed to get vvp to compile under MacOS 10.6 and possibly other
    64 bit systems that define uint64_t as unsigned long long vs unsigned
    long (both are 64 bits).
Commits on Oct 1, 2009
  1. @caryr

    Check if the compiler supports C99 and better check for some math fun…

    caryr authored committed
    Add a configuration check that says we would like to use C99 if the
    compiler supports it. Also change the lround(), nan(), fmin() and
    fmax() checks to look in the default libraries as well as the math
    Update the iverilog-vpi sh script to correctly quote CC since it
    may now have two words (gcc -std=gnu99).
    Add a missing int for main in draw_tt.c.
Commits on Mar 27, 2009
  1. @caryr


    caryr authored committed
    The later causes a warning under MinGW. The former appears
    to work everywhere.
Commits on Mar 26, 2009
  1. @caryr

    Use a single = in test

    caryr authored committed
    The ability to use == is an extension so use the more common =.
    (cherry picked from commit 327e8d0)
Commits on Mar 24, 2009
  1. Slightly more portable version of configure test.

    (cherry picked from commit 90f37fe)
Commits on Feb 24, 2009
  1. At configure time, make sure prefix, exec_prefix and libdir are OK.

    Icarus Verilog internally is not white-space clean. We need to make
    sure the configured paths that cause the most trouble are clean and
    usable. It is still possible to mess things up downstream, but at least
    this should help.
Commits on Feb 1, 2009
  1. @caryr

    Add memory freeing and pool management for valgrind.

    caryr authored committed
    This patch adds code to free most of the memory when vvp
    finishes. It also adds valgrind hooks to manage the various
    memory pools. The functionality is enabled by passing
    --with-valgrind to configure. It requires that the
    valgrind/memcheck.h header from a recent version of
    valgrind be available. It check for the existence of this
    file, but not that it is new enough (version 3.1.3 is known
    to not work and version 3.4.0 is known to work).
    You can still use valgrind when this option is not given,
    but you will have memory that is not released and the
    memory pools show as a single block.
    With this vvp is 100% clean for many of the tests in the
    test suite. There are still a few things that need to be
    cleaned up, but it should be much easier to find any real
    leaks now.
    Enabling this causes a negligible increase in run time and
    memory. The memory could be a problem for very large
    simulations. The increase in run time is only noticeable on
    very short simulations where it should not matter.
Commits on Dec 14, 2008
  1. Flatten the tree of configure scripts.

    Collapse all the configure checks to a single configure script in
    the root of the source tree. This makes the configure process run
    a lot faster, expecially on Windows systems that are slower in general.
Commits on Dec 13, 2008
  1. @caryr

    Rewrite the check for windows and MinGW.

    caryr authored committed
    It is recommended that AC_CYGWIN not be used and under MinGW
    the previous test was complaining about multiple calls to
    AC_CANONICAL_HOST. The new test performs the same function
    and also displays the MinGW status if we are compiling on
    Also removed a AX_CCP_IDENT call in the vpi directory and
    tgt-null is built by the top configure so there is no need
    to try to run configure in that directory.
Commits on Nov 20, 2008
Commits on Nov 17, 2008
  1. Create support for the --enable-suffix configuration option.

    This configure option causes the installed commands to have
    a suffix string that makes them distinct from other versions
    that also have a suffix string. This allows for multiple
    installed versions of Icarus Verilog.
    Also, move installed C/C++ header files into a subdirectory of
    their own under the target include directory, to make clearer
    the purpose and source of those files.
Commits on Sep 13, 2008
  1. @nickg

    Avoid processing tgt-vhdl/ twice

    nickg authored committed
    It's processed once by AC_OUTPUT in and then again
    by AC_OUTPUT in tgt-vhdl/ This is a bug from when I
    first started on the VHDL target, and was basing it on the tgt-vvp
    code. The call to configure in the tgt-vhdl directory is not
    actually necessary either, since it doesn't do any checks not
    performed elsewhere, so that should proably be removed later.
Commits on May 28, 2008
  1. @nickg
Something went wrong with that request. Please try again.