Quartus v7.0 & configurations? - vhdl

This is a discussion on Quartus v7.0 & configurations? - vhdl ; Hi, I'm having trouble getting Quartus to pickup my configuration... a_pkg.vhdl has "A" component declaration a.vhdl has "A" entity declaration a1.vhdl uses a_pkg & has "A1" architecture of "A" a2.vhdl uses a_pkg & has "A2" architecture of "A" Now in ...

+ Reply to Thread
Results 1 to 6 of 6

Quartus v7.0 & configurations?

  1. Default Quartus v7.0 & configurations?

    Hi,

    I'm having trouble getting Quartus to pickup my configuration...

    a_pkg.vhdl has "A" component declaration
    a.vhdl has "A" entity declaration
    a1.vhdl uses a_pkg & has "A1" architecture of "A"
    a2.vhdl uses a_pkg & has "A2" architecture of "A"

    Now in b.vhdl I have...

    entity B (...)
    architecture SYN of B is
    ....
    a_inst : A port map(...);
    ....
    end END SYN;

    configuration cfg_A of B is
    for SYN
    for a_inst : A
    use entity work.A(A1);
    end for;
    end for;
    end configuration cfg_A;

    No matter where I place the configuration declaration (before or after the
    architecture of B) it ignores it and uses architecture "A2" from a2.vhdl....

    Any ideas what I'm doing wrong???

    TIA
    Regards,

    --
    Mark McDougall, Engineer
    Virtual Logic Pty Ltd, <http://www.vl.com.au>
    21-25 King St, Rockdale, 2216
    Ph: +612-9599-3255 Fax: +612-9599-3266

  2. Default Re: Quartus v7.0 & configurations?

    Mark McDougall wrote:

    > No matter where I place the configuration declaration (before or after the
    > architecture of B) it ignores it and uses architecture "A2" from a2.vhdl....
    > Any ideas what I'm doing wrong???


    Did you tell quartus that cfg_A is the top entity?
    Is it also above the other units in the file list?
    Also see Andy's posts of yesterday -- direct instances are less trouble.
    Good luck.

    -- Mike Treseler

  3. Default Re: Quartus v7.0 & configurations?

    Mike Treseler wrote:

    > Is it also above the other units in the file list?

    *below*

  4. Default Re: Quartus v7.0 & configurations?

    Mike Treseler wrote:

    > Did you tell quartus that cfg_A is the top entity?


    No - entity B (for which cfg_A is the config) is not the top-level entity
    in the design. Do I therefore need to represent the top-down hierarchy of
    the project in cfg_X and specify that as the top-level design file???

    > Is it also above the other units in the file list?


    cfg_A appears in the same file as entity B declaration/implementation, at
    the end of the file. This file appears in the file list after all the
    entity A files...

    FWIW I've read conflicting statements about where cfg_A must appear during
    evaluation/synthesis...

    Regards,

    --
    Mark McDougall, Engineer
    Virtual Logic Pty Ltd, <http://www.vl.com.au>
    21-25 King St, Rockdale, 2216
    Ph: +612-9599-3255 Fax: +612-9599-3266

  5. Default Re: Quartus v7.0 & configurations?

    Mike Treseler wrote:

    > Also see Andy's posts of yesterday -- direct instances are less trouble.


    Ah!!! Thanks!

    I'd tried
    label : my_entity(my_architecture)
    and got an error but not
    label : entity work.my_entity(my_architecture)

    .... the latter works!

    Still, for future reference, I'd like to resolve the configuration issue...

    Regards,

    --
    Mark McDougall, Engineer
    Virtual Logic Pty Ltd, <http://www.vl.com.au>
    21-25 King St, Rockdale, 2216
    Ph: +612-9599-3255 Fax: +612-9599-3266

  6. Default Re: Quartus v7.0 & configurations?


    "Mark McDougall" <markm@vl.com.au> wrote in message
    news:473242b9$0$23911$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
    > Mike Treseler wrote:
    >
    >> Also see Andy's posts of yesterday -- direct instances are less trouble.

    >
    > Ah!!! Thanks!
    >
    > I'd tried
    > label : my_entity(my_architecture)
    > and got an error but not
    > label : entity work.my_entity(my_architecture)
    >
    > ... the latter works!
    >
    > Still, for future reference, I'd like to resolve the configuration
    > issue...
    >


    If the configuration is not the top level, then this implies that at some
    point in the design you're instantiating entity b, but what you need to
    instantiate is configuration b.

    What you probably have is
    My_thing : entity work.b(....)

    What I think you need is
    My_thing : configuration work.cfg_a(....)


    KJ



+ Reply to Thread

Similar Threads

  1. help regarding quartus ide
    By Application Development in forum vhdl
    Replies: 1
    Last Post: 08-28-2007, 10:53 AM
  2. Quartus FFT IP problem
    By Application Development in forum vhdl
    Replies: 0
    Last Post: 02-06-2007, 10:36 AM
  3. Quartus FFT IP problem
    By Application Development in forum vhdl
    Replies: 0
    Last Post: 02-06-2007, 10:35 AM
  4. How to migrate SQLXML 3.0 configurations
    By Application Development in forum XML SOAP
    Replies: 1
    Last Post: 06-09-2006, 01:15 PM
  5. Restore Server configurations
    By Application Development in forum Microsoft Exchange
    Replies: 1
    Last Post: 04-26-2006, 04:45 PM