Permalink
Commits on Sep 27, 2010
  1. Clean up for v0.9.3

    steveicarus committed Sep 27, 2010
Commits on Sep 24, 2010
  1. Remove MinGW shadow warning.

    caryr authored and steveicarus committed Sep 24, 2010
    Remove a shadow warning in a MinGW specific code block.
Commits on Sep 22, 2010
  1. Spelling fixes

    ldoolitt authored and steveicarus committed Sep 22, 2010
    All fixes are in comments, except for one error message (was "iternal error")
  2. Update fstapi.c to the latest from GTKWave-3.3.12

    caryr authored and steveicarus committed Sep 22, 2010
    (cherry picked from commit 0dad9e3)
  3. v0.9: Fix signed/unsigned compare warnings.

    caryr authored and steveicarus committed Sep 22, 2010
    Fix all the Icarus files that can be so that we do not have any
    signed/unsigned compare warnings. It also removes const as a
    return qualifier for two routines in discipline.h.
Commits on Sep 19, 2010
  1. V0.9: Pad and sign convert array index expressions as needed.

    caryr authored and steveicarus committed Sep 17, 2010
    This patch mimics what was done for vectors, but is simpler since
    arrays don't use the endian information. It also needs to address
    the fact that .array/port assumes the expression is unsigned so
    any signed expression must be padded to make it larger than the
    maximum array word when it is converted to unsigned.
  2. V0.9: Normalize variable bit/indexed part selects using a fixed routine.

    caryr authored and steveicarus committed Sep 16, 2010
    This patch modifies all the variable bit and indexed part selects
    to use a common routine. This routine determines the minimum
    width needed to calculate the result correctly, pads the expression
    if needed and then converts the expression to signed if required to
    make the calculation correct.
  3. Fix generation of PS files and hence PDF files on cygwin.

    caryr authored and steveicarus committed Sep 14, 2010
    The Cygwin man command requires that you have a / in the path
    if you want to avoid looking at the normal search path. This
    patch addes ./ before the manual page file name. Which should
    work on any system. It also makes the vvp generation create a
    PS file like is done in the other Makefiles.
    
    By default we generate normal manual pages. You can then
    create PostScript version and from these you can generate a
    PDF version.
    (cherry picked from commit 5ae3e48)
Commits on Sep 13, 2010
  1. Resize constants in eval_expr when needed.

    caryr authored and steveicarus committed Sep 13, 2010
    If we are given an unsized constant that is smaller then the requested
    width then resize the constant to fit.
    (cherry picked from commit acb5591)
  2. V0.9: An if statement is optional and results in no delay.

    caryr authored and steveicarus committed Sep 13, 2010
    While checking for an infinite loop in an always block I missed
    the case where an if statement does not have a statement. This
    was resulting in a segmentation fault.
Commits on Sep 12, 2010
  1. Fix for pr3064375.

    martinwhitaker authored and steveicarus committed Sep 11, 2010
    The search for similar events, used to elide duplicates, was ignoring
    the event edge sensitivity. This allowed events that should have been
    triggered on different edges of the same signal to be merged.
Commits on Sep 11, 2010
  1. Don't elide unconnected module ports.

    caryr authored and steveicarus committed Sep 8, 2010
    When performing a translation we do not want to elide any module
    ports. Dropping ports can result in port mismatch issues.
    (cherry picked from commit b252dc0)
Commits on Sep 9, 2010
  1. V0.9: Report and fail gracefully for recursive parameter definitions.

    caryr authored and steveicarus committed Sep 7, 2010
    If someone accidentally makes a parameter depend on itself
    we need to report this not crash. This patch fixes the crash
    and prints an appropriate string of messages to figure out
    the loop. Icarus currently supports forward references of
    parameters so more complicated loops can be created. These
    are also caught.
Commits on Sep 4, 2010
  1. V0.9: Warn the user that synthesis is no longer maintained.

    caryr authored and steveicarus committed Sep 4, 2010
    Add code to print a warning if the user tries to use the -S flag.
    We need this warning since synthesis is not currently being actively
    maintained or supported in any branch after V0.8.
Commits on Aug 20, 2010
  1. Keep expression width when evaluating expressions ahead of time.

    wpd authored and steveicarus committed Aug 4, 2010
    Added 'expr_wid' parameter to calls to 'eval_expr()' within
    PEBinary::elaborate_eval_expr_base_()'.  This makes a specific problem
    go away and may even be the correct thing to do.
    (cherry picked from commit 2ffc2d3)
Commits on Aug 19, 2010
  1. Fix broken search for similar events.

    steveicarus committed Aug 19, 2010
    The search for similar events, used to elide duplicates, was easily
    confounded by duplicate pins connected to a probe. This caused the
    similarity count to get messed up, and bad things happened. Change
    the method to use set comparisons instead.
Commits on Aug 7, 2010
  1. Add $info, $warning and $error as aliases to $display

    steveicarus committed Jul 31, 2010
    Submitted by voiz@sourceforge.net
  2. Update fstapi.c to latest from gtkwave 3.3.10

    caryr authored and steveicarus committed Jul 16, 2010
    (cherry picked from commit 44b08a4)
  3. V0.9: Cleanup some compiler warnings under CentOS 5.5

    caryr authored and steveicarus committed Jul 15, 2010
    This patch cleans up a couple of warnings when compiling on CentOS 5.5
    using gcc 4.1.2.
  4. The switch gates do not support a strength specification.

    caryr authored and steveicarus committed Jul 13, 2010
    This patch splits the switch types out of the gates to allow
    them to be defined to not take a strength specification.
    (cherry picked from commit df4722b)
  5. V0.9: We have already verified that we have a 64 bit immediate value.

    caryr authored and steveicarus committed Jul 12, 2010
    These checks are not needed since we have already verified that
    we have a 64 bit immediate value. This is likely old code that
    should have been removed when the original functionality was
    changed.
  6. V0.9: Add unlimited tail recursion for the real ternary operator.

    caryr authored and steveicarus committed Jul 7, 2010
    This patch modifies the real ternary operator code to support
    unlimited tail recursion without overflowing the thread
    registers. Head recursion is still limited by the available
    registers.
    
    It fixes the thread word checks to use a new define that has
    the correct number of thread words (16). It adds a message
    instead of just an assert if the thread words are exhausted.
    
    And it also changes some of the error messages to use vvp.tgt
    in the message to be consistent with the other messages.
Commits on Jul 7, 2010
  1. V0.9: Only set the multiply width if it is greater than zero and vect…

    caryr authored and steveicarus committed Jul 6, 2010
    …orable
    
    We only need to set the width of a multiple if the width is greater
    than zero and if the expression is vectorable. This matches what is
    done for addition.
  2. Update fstapi files to match the GTKWave 3.3.8 release.

    caryr authored and steveicarus committed Jun 25, 2010
    This patch updates fstapi.{c,h} to match the ones in the GTKWave
    3.3.8 release.
    (cherry picked from commit ed29161)
Commits on Jun 18, 2010
  1. V0.9: Fix some on error memory leaks in vvp.

    caryr authored and steveicarus committed Jun 15, 2010
    This patch modifies the vvp main code to cleanup if there was an
    error compiling the input file. There are still a few issues, but
    this takes care of most of them.
  2. V0.9: On error there is no need to pop the scope.

    caryr authored and steveicarus committed Jun 13, 2010
    The error routines for task and function definitions were incorrectly
    popping the scope. This should not be done since no scope was pushed.
    Also assert that the current_task/function is 0 to catch that kind of
    error like the other definition rules.
  3. V0.9: Fix shadow warnings found on OpenBSD.

    caryr authored and steveicarus committed Jun 12, 2010
    gcc on OpenBSD reported shadow warnings for variables, arguments named
    log, time and exp. This patch renanes those variables to logic, timerec
    and expr.
  4. V0.9: back port of SunPro compiler support.

    caryr authored and steveicarus committed Jun 12, 2010
    This patch combines all the changes needed to back port support for
    the SunPro compilers to the stable branch.
Commits on Jun 12, 2010
  1. Update fstapi.c to match latest from GTKWave.

    caryr authored and steveicarus committed Jun 11, 2010
    (cherry picked from commit 263dff6)
  2. V0.9: Fix int/long warning.

    caryr authored and steveicarus committed Jun 8, 2010
  3. V0.9: Cache vpi_call error messages so we can include file and line i…

    caryr authored and steveicarus committed Jun 8, 2010
    …nfo.
    
    This patch caches the vpi_call error messages (task/function does
    not exist, task being called as a function and function being
    called as a task). This allows us to display the file name and line
    number information for the invalid usage.