You'll need to provide us with a bit more information. First how do you know that it works? Have you tried keeping a constant 0 and constant 1 on all the output pins and measured that the voltage levels match your expectation? Next, try each output pin individually as it's fairly easy to get the pin assignment wrong. If all that works, the check that your uC has a common ground with the DE2 board and that it is compatible with the voltage levels on the pins. Finally, maybe the problem is with the uC. Software problem is actually the most likely, but input pins can die from abuse.
Good luck.