Using packages in a hierarchical design

Discussion in 'VHDL' started by Shannon, Sep 11, 2007.

  1. Shannon

    Shannon Guest

    Don't you just love all these softball questions from me?

    Ok, I did my search through comp.lang.vhdl and didn't find what I'm
    looking for.

    I'm using my own package in some of my lower-level modules (entity/
    architecture pairs).
    When I stitch everything together in my top-level module then Quartus
    complains that I've got the package defined in more than one
    location. Ok, I comment out the lower-level ones and everything is
    fine.

    However, now when I edit my lower-level modules I have to keep
    uncomment/re-comment the package definition. There has GOT to be an
    easier (and more correct) method.

    Is there a way to "compile" the package separately so that I only have
    to "USE work.mypkg.all" in each of my lower-level modules?
    Shannon, Sep 11, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul  Smith
    Replies:
    0
    Views:
    717
    Paul Smith
    Nov 18, 2003
  2. Shannon
    Replies:
    9
    Views:
    860
    Brian Drummond
    Sep 11, 2007
  3. David Lyon
    Replies:
    19
    Views:
    555
    David Lyon
    Apr 24, 2009
  4. Jean-Christophe Le Lann

    Mimicking classpath and hierarchical packages ?

    Jean-Christophe Le Lann, Sep 29, 2009, in forum: Ruby
    Replies:
    1
    Views:
    86
    Robert Klemme
    Sep 29, 2009
  5. Ian
    Replies:
    3
    Views:
    157
Loading...

Share This Page