Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

Modelsim & VHDL Configuration

It seems that Modelsim doesn't support VHDL Configuration feature.

One of my module contain two architectures, in the top level VHDL file use VHDL configuration to use the two different architectures.

During modelsum pre-simulation, it seems to always use the last architecture.

Anything mistake?

Thanks for any response.

12 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You defined this as a custom component? Did you add the configuration file to the list of HDL files for the custom component? If not, you'll need to add the file containing the configuration to your Quartus II project.

    I'm no SOPC Builder expert so take anything I say with a grain of salt. :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The configuration declaration is in the same file of the HDL file which contain one entity and two architectures associated with the entity. It has been added to the list of HDL files for the custom component.

    I can compile the whole quartusII project without error, so it maybe a bug of SOPC Builder.