I wrote a simple code for Binary to 7 Seg converter but the output I am getting is not correct.
My source code is as followed
The functional simulation is correct after synthesis and implementation but on the board, I don't see the correct output. I have mapped the binary input to switches and output to seven segments. My constraint file is as below
The output I am getting is shown below
What could be the possible reason for this?