Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Sounds plausible. Combining the processes creates legal VHDl semantic, but not necessarily intended behaviour. The basic problem is, that you have to resolve the conflicting assignments logically. Whatever code you write, you have to know which of the multiple signal assignments should be in effect at different times. The design compiler will resolve the conflict only based on code placement. The last assignment wins. --- Quote End --- I even tried using a multiplexer, both parts work but the one part is not displayed. for example, when i press the push button, 7 seg displays, display the contents stored for push button event but when i release it, last key pressed on the keyboard is displayed and thats not how it should work. This is how it should work: 1. when i press a key on the keyboard, the contents associated with that key should be displayed and stay displayed. 2. when i press the push button, the contents associated with push button counter should be displayed and stay displayed. 3. (1) and (2) work fine independently, problem arises when i put them in a single file. im new to vhdl and like i said, i've been trying to resolve this since friday and this project is due tomorrow. please help pls. i've attached a more readable code, pls help me correct it.:confused: Regards Dante