Altera_Forum
Honored Contributor
15 years agoHelp with LPM_ROM!
Hi guys,
Im relatively new to Quartus/VHDL so forgive me if I sound like I don't know what i'm talking about! I am using small 2-wheeled robot with a cyclone II fpga. It has 2 photo-transistor inputs. I have done various projects with it before but i'm still not exactly confident with Quartus and VHDL coding. The problem... I want to use an LPM_ROM block to store a number of sequences (arrays perhaps?) so that when the photo-transistors drive over a surafce with just black and white (binary) markings, it scans the LPM_ROM for that sequence. i.e. black, black white = memory 1 - light LED 1 white, white, white = memory 2 - light LED 2 black, white , black = memory 3 - light LED 3 so if it drives over a surface, the correct LED shall light up for example. I apologise for the explanation, I'd be happy to break it down and/or give other details if required! Thanks for looking, I await any help/advice/comments! :)