Altera_Forum
Honored Contributor
12 years agoROM outputting values incorrectly
Hello,
I am working on a project for my Electrical and Computer Engineering class at my college. I am supposed to save the patterns to make each number from 0 to 255 display on 7-segment displays into a ROM. (For example, the pattern for 136 would be 11111001 10110000 10000011, where the first bit is just a placeholder, and the rest of the bits are for segments 6-0 of a 7-segment display). I have inputted all patterns into a .mif file and checked that they are the proper patterns for each input. I have run simulations to make sure everything is working as intended and outputs for all numbers are correct. However, it seems that the output for each input is behind one (as in, if I input 1, the pattern outputted is what is intended for 0). I am not sure what's going wrong. If anyone has an idea, please help. My class uses version 9.1 sp2.