LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cores > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Will Partain<will.partain@v...>
    Date: Fri Feb 6 17:42:37 CET 2004
    Subject: [oc] Re: getting wb_dma testbench through VCS? [PATCH SUPPLIED]
    Top
    I wrote, while trying to compile the wb_dma testbench, about
    VCSi errors of the form...

    > Error-[XMRE] Cross-module reference resolution error
    > Cross module resolution failed, token 'wb_wr1'. Originating module
    > 'test'.
    > "tests.v", 1220:
    > m0.wb_wr1((32'hb0000000 + 8'h38), 4'hf, 32'b0);

    The problem is that there is a 'wb_mast m0(...)' definition
    in bench/verilog/test_bench_top.v, but in the `included
    tests.v, there is at least one definition of an *integer*
    m0. Yurk!

    Different simulators do different things. 'cver' gives the
    best error messages; VCSi is right to spot a problem but
    gives a terrible error message; both icarus and an old
    verilog-xl just stagger forward blindly (and the simulations
    are completely useless).

    Anyway, the attached patch fixes the problem.

    At the very end of the patch, there's an ifndef-thing around
    the contents of rtl/verilog/wb_dma_defines.v -- the sort of
    thing that is standard in C programming. It eliminates some
    compiler warnings, and I commend it to you. Keep up the
    good work,

    Will

    PS: Shouldn't there be one or more 'bug reporting'
    links/pages/whatever on www.opencores.org?

    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: wb_dma.diffs
    Type: application/octet-stream
    Size: 24130 bytes
    Desc: fix m0 bugs + one ifndef
    Url : wb_dma.obj

    ReferenceAuthor
    [oc] getting wb_dma testbench through VCS?Will Partain

    Follow upAuthor
    [oc] Re: getting wb_dma testbench through VCS? [PATCH SUPPLIED]Damjan Lampret

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.