Forum Discussion

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

Error while compiling program for robot

Hey everyone, I'm making a robot which I'm going to program with VHDL. The robot will use the Ping))) sensor from Altera for detecting objects and evade them. When I want to compile my program I get the next errors:

Error (10028): Can't resolve multiple constant drivers for net "pulssensor" at Robosensor.vhd(44)

Error (10029): Constant driver at Robosensor.vhd(56)

Error: Can't elaborate top-level user hierarchy

The program that I've written is attached.

Thanks for your help!

1 Reply

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

    Probably you mistyped the names at lines 62 and 68 and you are supposed to assign pulssensor_int instead of pulssensor.

    The latter is already assigned out of process: you get the compile error because you try to assign it twice.