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

    committed Sep 27, 2010
Commits on Sep 24, 2010
  1. @caryr

    Remove MinGW shadow warning.

    Remove a shadow warning in a MinGW specific code block.
    caryr committed with Sep 24, 2010
Commits on Sep 22, 2010
  1. @ldoolitt

    Spelling fixes

    All fixes are in comments, except for one error message (was "iternal error")
    ldoolitt committed with Sep 22, 2010
  2. @caryr

    Update fstapi.c to the latest from GTKWave-3.3.12

    (cherry picked from commit 0dad9e3)
    caryr committed with Sep 22, 2010
  3. @caryr

    v0.9: Fix signed/unsigned compare warnings.

    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.
    caryr committed with Sep 22, 2010
Commits on Sep 19, 2010
  1. @caryr

    V0.9: Pad and sign convert array index expressions as needed.

    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.
    caryr committed with Sep 17, 2010
  2. @caryr

    V0.9: Normalize variable bit/indexed part selects using a fixed routine.

    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.
    caryr committed with Sep 16, 2010
  3. @caryr

    Fix generation of PS files and hence PDF files on cygwin.

    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)
    caryr committed with Sep 14, 2010
Commits on Sep 13, 2010
  1. @caryr

    Resize constants in eval_expr when needed.

    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)
    caryr committed with Sep 13, 2010
  2. @caryr

    V0.9: An if statement is optional and results in no delay.

    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.
    caryr committed with Sep 13, 2010
Commits on Sep 12, 2010
  1. @martinwhitaker

    Fix for pr3064375.

    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.
    martinwhitaker committed with Sep 11, 2010
Commits on Sep 11, 2010
  1. @caryr

    Don't elide unconnected module ports.

    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)
    caryr committed with Sep 8, 2010
Commits on Sep 9, 2010
  1. @caryr

    V0.9: Report and fail gracefully for recursive parameter definitions.

    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.
    caryr committed with Sep 7, 2010
Commits on Sep 4, 2010
  1. @caryr

    V0.9: Warn the user that synthesis is no longer maintained.

    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.
    caryr committed with Sep 4, 2010
Commits on Aug 20, 2010
  1. @wpd

    Keep expression width when evaluating expressions ahead of time.

    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)
    wpd committed with Aug 4, 2010
Commits on Aug 19, 2010
  1. Fix broken search for similar events.

    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.
    committed Aug 19, 2010
Commits on Aug 7, 2010
  1. Add $info, $warning and $error as aliases to $display

    Submitted by voiz@sourceforge.net
    committed Jul 31, 2010
  2. @caryr

    Update fstapi.c to latest from gtkwave 3.3.10

    (cherry picked from commit 44b08a4)
    caryr committed with Jul 16, 2010
  3. @caryr

    V0.9: Cleanup some compiler warnings under CentOS 5.5

    This patch cleans up a couple of warnings when compiling on CentOS 5.5
    using gcc 4.1.2.
    caryr committed with Jul 15, 2010
  4. @caryr

    The switch gates do not support a strength specification.

    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)
    caryr committed with Jul 13, 2010
  5. @caryr

    V0.9: We have already verified that we have a 64 bit immediate value.

    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.
    caryr committed with Jul 12, 2010
  6. @caryr

    V0.9: Add unlimited tail recursion for the real ternary operator.

    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.
    caryr committed with Jul 7, 2010
Commits on Jul 7, 2010
  1. @caryr

    V0.9: Only set the multiply width if it is greater than zero and vect…

    …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.
    caryr committed with Jul 6, 2010
  2. @caryr

    Update fstapi files to match the GTKWave 3.3.8 release.

    This patch updates fstapi.{c,h} to match the ones in the GTKWave
    3.3.8 release.
    (cherry picked from commit ed29161)
    caryr committed with Jun 25, 2010
Commits on Jun 18, 2010
  1. @caryr

    V0.9: Fix some on error memory leaks in vvp.

    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.
    caryr committed with Jun 15, 2010
  2. @caryr

    V0.9: On error there is no need to pop the scope.

    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.
    caryr committed with Jun 13, 2010
  3. @caryr

    V0.9: Fix shadow warnings found on OpenBSD.

    gcc on OpenBSD reported shadow warnings for variables, arguments named
    log, time and exp. This patch renanes those variables to logic, timerec
    and expr.
    caryr committed with Jun 12, 2010
  4. @caryr

    V0.9: back port of SunPro compiler support.

    This patch combines all the changes needed to back port support for
    the SunPro compilers to the stable branch.
    caryr committed with Jun 12, 2010
Commits on Jun 12, 2010
  1. @caryr

    Update fstapi.c to match latest from GTKWave.

    (cherry picked from commit 263dff6)
    caryr committed with Jun 11, 2010
  2. @caryr

    V0.9: Fix int/long warning.

    caryr committed with Jun 8, 2010
  3. @caryr

    V0.9: Cache vpi_call error messages so we can include file and line i…

    …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.
    caryr committed with Jun 8, 2010