Permalink
Commits on Dec 30, 2009
  1. Step to the 0.9.2 release.

    steveicarus committed Dec 30, 2009
    Advance version stamps.
Commits on Dec 28, 2009
  1. Fix references to version_base.h in Makefiles.

    steveicarus committed Dec 28, 2009
    (cherry picked from commit d2dd0da)
  2. A constant real number is not unsized.

    caryr authored and steveicarus committed Dec 28, 2009
    We can have unsized bit values, but reals always have a size.
    (cherry picked from commit ebac088)
Commits on Dec 25, 2009
  1. Having lround() does not mean llround() is available.

    caryr authored and steveicarus committed Dec 22, 2009
    We need to check for both lround() and llround() for at
    least Cygwin.
    (cherry picked from commit a1e2bfc)
  2. Add warning about casting large integer values to reals.

    martinwhitaker authored and steveicarus committed Dec 20, 2009
    The compiler and vvp runtime don't correctly handle casts to reals
    when the source value is more than 63 bits in magnitude. This is
    fixed in devel, but can't be backported to v0.9 because it adds new
    vvp instructions. This patch causes the compiler to output a warning
    about potentiall incorrect results.
  3. Make vvp thread word storage consistently 64 bits (backport to v0.9).

    martinwhitaker authored and steveicarus committed Dec 20, 2009
    The vvp thread word storage had previously been changed to always store
    64-bit values, but some instructions still only operate on native long
    values. This patch ensures all instructions that modify thread words
    support 64-bit values.
  4. V0.9 - Add suffix support for windows (both MinGW and Cygwin).

    caryr authored and steveicarus committed Dec 23, 2009
    dlltool which is used by both MinGW and Cygwin to create dynamic
    libraries must have the name of the executable it creates the
    library/information from exactly match the installed executable
    name. If we have a suffix then it must be used. This patch adds
    that to the build process for vvp since it can be installed with
    a suffix. It also modifies the check routines since you must run
    vvp with a suffix if the library it links to was built for a
    suffixed executable.
  5. Use the correct line information in crop_to_width()

    caryr authored and steveicarus committed Dec 18, 2009
    This was using its own information instead of the input nets information.
  6. Reuse the number of input information.

    caryr authored and steveicarus committed Dec 18, 2009
    This was already assigned to a variable so lets use that instead of
    geting it again.
  7. Properly extend/crop a user function argument in a continuous assignm…

    caryr authored and steveicarus committed Dec 18, 2009
    …ent.
    
    When passing an argument to a user function in a continuous assignment
    we need to sign extend the value if it is signed and too short. We need
    to crop an argument if it is too long.
  8. Function arg. expressions need to use the expr. width and arg. width.

    caryr authored and steveicarus committed Dec 18, 2009
    When evaluating a function argument expression we need to use either
    the expression width or the argument width which ever is larger. This
    matches the way normal assignments work. We then only take the bits
    needed at the end.
  9. A ternary can be signed.

    caryr authored and steveicarus committed Dec 17, 2009
    If the two branches of a ternary are signed then the result will
    also be signed.
  10. VHDL: fix spurious resize seen in pr2911213

    nickg authored and steveicarus committed Dec 16, 2009
    Another case when ivl_scope_sig list was used instead of
    ivl_scope_param.
  11. Add suffix support to MinGW.

    caryr authored and steveicarus committed Dec 16, 2009
    This patch adds suffix support to the relative path that MinGW
    calculates in both the iverilog and vvp executables.
Commits on Dec 15, 2009
  1. Fix out of bounds select warning text in man page.

    caryr authored and steveicarus committed Dec 14, 2009
    (cherry picked from commit 8144283)
  2. Fixe .cast documentation.

    caryr authored and steveicarus committed Dec 14, 2009
    (cherry picked from commit a228d53)
  3. VHDL: ensure with-select statement choices completely cover input space

    nickg authored and steveicarus committed Dec 13, 2009
    Newer versions of GHDL seem to be stricter when checking this than
    older versions. ModelSim still accepts an incomplete with-select,
    however.
    
    This patch makes the output 'U' if none of the conditions match.
    (cherry picked from commit 9c568d8)
Commits on Dec 12, 2009
  1. Add CFLAGS to vvp/Makefile.in

    caryr authored and steveicarus committed Dec 10, 2009
    We do have one C program in the vvp directory so add CFLAGS to
    the Makefile. This patch also modifies the two local programs
    tables and version to use -Wall.
    (cherry picked from commit 1a25b3d)
  2. VHDL: emit function parameters in correct order

    nickg authored and steveicarus committed Dec 10, 2009
    The function draw_scope was extracting the input/output parameters
    just by looking at the (unordered) list of signals in the function
    scope rather than using the ivl_scope_ports list.
    (cherry picked from commit a9c85cf)
  3. Add some casts in libveriuser to remove warnings.

    caryr authored and steveicarus committed Dec 10, 2009
    The Cygwin compiler is a bit picky. This patch adds some casts
    to remove compilation warnings. In the past I have had warnings
    off because of problems with the STL, but for C directories
    like this it makes sense to enable the warnings. It also does
    not recognize that an assert(0) or assert(false) ends a routine
    so it complains about no return at end of function or variables
    not being defined.
    (cherry picked from commit 6ae1f64)
  4. Add some casts in tgt-vhdl to remove warnings.

    caryr authored and steveicarus committed Dec 10, 2009
    The Cygwin compiler is a bit picky. This patch adds some casts
    to remove compilation warnings. In the past I have had warnings
    off because of problems with the STL, but we may as well get
    rid of the warnings we can. It also does not recognize that an
    assert(0) or assert(false) ends a routine so it complains about
    no return at end of function or variables not being defined.
    (cherry picked from commit 3f12a40)
  5. Add some casts in vpi to remove warnings.

    caryr authored and steveicarus committed Dec 10, 2009
    The Cygwin compiler is a bit picky. This patch adds some casts
    to remove compilation warnings. In the past I have had warnings
    off because of problems with the STL, but for C directories
    like this it makes sense to enable the warnings. It also does
    not recognize that an assert(0) or assert(false) ends a routine
    so it complains about no return at end of function or variables
    not being defined.
    (cherry picked from commit f31a4e6)
  6. Add some casts in main directory to remove warnings.

    caryr authored and steveicarus committed Dec 10, 2009
    The Cygwin compiler is a bit picky. This patch adds some casts
    to remove compilation warnings. In the past I have had warnings
    off because of problems with the STL, but for this directory we
    mas as well remove the warnings we can. It also does not
    recognize that an assert(0) or assert(false) ends a routine so
    it complains about no return at end of function or variables
    not being defined.
    (cherry picked from commit 81d4cbc)
  7. Remove extra MinGW only varaible in t-dll.cc.

    caryr authored and steveicarus committed Dec 10, 2009
    (cherry picked from commit 1f375ef)
  8. Remove version.exe with a -f to avoid a warning.

    caryr authored and steveicarus committed Dec 10, 2009
    If version.exe does not exist and we don't have a -f then we
    will get a warning.
    (cherry picked from commit 05a3929)
  9. Fix for pr2909414.

    martinwhitaker authored and steveicarus committed Dec 6, 2009
    Currently the compiler only applies defparam statements that are
    found in the initial root module hierarchy. This patch ensures that
    defparam statements within scopes created by generate constructs or
    instance arrays are also applied.
    (cherry picked from commit e2be397)
Commits on Dec 11, 2009
  1. Remove unused MinGW variable.

    caryr authored and steveicarus committed Dec 9, 2009
    There was an unused variable in driver/main.c under MinGW.
    (cherry picked from commit 392ac12)
Commits on Dec 10, 2009
  1. Add debug_eval_tree code for the pow operator.

    caryr authored and steveicarus committed Dec 7, 2009
    The power operator was missing eval_tree debug information.
    This patch fixes that deficiency.
    (cherry picked from commit a85880a)
  2. For MinGW make driver/main.c always create a path with a back slash

    caryr authored and steveicarus committed Dec 7, 2009
    The MinGW executable should be able to support a path with mixed
    separators, but to make things consistent all the path in the main
    driver program (driver/main.c) now always use a '\' or convert a
    path to use '\' (e.g. getenv() returns a path with a '/').
    (cherry picked from commit e9c653d)
  3. Reduce memory use for simulations that run in zero time.

    martinwhitaker authored and steveicarus committed Dec 6, 2009
    The fix for pr1830834 causes vvp to only delete a completed thread
    when the simulation time next advances. If a procedural model is
    being simulated which makes many task or function calls within a
    single time step, this can lead to excessive memory use. This patch
    modifies the behaviour so that thread deletion is only delayed if
    that thread has caused a sync event to be placed in the event queue.
    This should catch all cases where the thread private data can be
    accessed after a thread has terminated.
    (cherry picked from commit c7b0aef)
  4. Make the verinum pow operator work correctly.

    caryr authored and steveicarus committed Dec 6, 2009
    The functionality of the integer power operator is specified in
    1364-2005 on page 45-46 and specifically Table 5-6. This patch
    fixes the verinum pow operator to work as specified in this
    table. It also fixes an error in the == operator when both
    operators are signed and only the left argument is negative.
    (cherry picked from commit eea816e)
  5. Update wavealloca.h to fix MinGW compilation warning

    caryr authored and steveicarus committed Dec 6, 2009
    This patch fixes a warning when compiling vpi/sys_lxt2.c under
    MinGW regarding the definition of alloca().
    (cherry picked from commit 59ebd47)
Commits on Dec 4, 2009
  1. Add explicit dependencies on generated header files.

    steveicarus committed Dec 4, 2009
    These explicit dependencies are not normally needed (because they
    are covered by automatic dependency generation) but when the "-jN"
    flag is passed to gmake, they help gmake schedule parallel builds.
  2. More portable use of tail.

    steveicarus committed Dec 4, 2009
    Apparently, tail +2 is not portable, but tail -n +2 should work.