Forum Discussion

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

Entities work in individual projects but not in single project together.

Hello every one

I have created multiple entities, that work individually in individual projects, but when I combine all the entities in to a single project some entities stop functioning. When I compile and run the project with multiple entities on my DE1 cyclone 2 board, entities take chances not working, but sometimes all of them work but when I compile again without changing any thing in particular it doesn't work ect.

More detailed:

I coded in VHDL an audio player, music saved on the SD card, that can be controlled through the RS232 communication board - works perfectly in own project.

I also coded in VHDL a temperature display, that uses the 4 7 segments on the development board, that "looks up" a 8 bit value, that is generated by the switches, and outputs the corresponding values for the 7 segments. This part also works perfectly in its own project. But as soon as I combine these in one project one or the other or sometimes even both stop working.

I only use 10% of the logic elements and 2 % of the ram (when no signal tapping is implemented)

if some one has any idea what the solution to my problem is, please comment.

Arno (student at the University of Pretoria)

3 Replies

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

    Do you have testbenches for all of them? Have you done a system test for all of them together? Are all designs synchronous?

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

    Both entities work independently on the cyclone 2 DE1 development board, so there is no reason to make test benches for them?

    I am not sure what you mean with system test. The 2 entities are not synchronous.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You would make a testbench so that you could test any situation without having to revert to the board - debugging on hardware is a pain in the backside. And system test I mean I testbench that instatiates your two entities.

    And With your 2 blocks not synchronous - good luck dubugging it - it could be all sorts of things..