Forum Discussion
Altera_Forum
Honored Contributor
17 years agoAt least in Linux, -1 (or 0xffff...) is the default value when you are reading non-existent I/O or memory mapped locations. Not sure if this goes for PCI as well.
However, we cannot guess what you might be doing wrong without seeing source code.