- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
As title states, I'm new to alteras Qsys, Nios and related tools. I started with alteras tutorials, creating a simple system with Nios2, pio etc. Then I tried a simple software - writing/reading to/from IO locations(peripherals) like PIO and RAM. So far so good, but then I tried to write/read to a seemingly unmapped locations.. and I got back what I had written.. Here's the address map from Qsys: http://www.bildites.lv/images/hngxsps4dvklrlwwcfjg.png So addresses from like 0xf up to 0x8000 should be unmapped, right? What am I missing here? Thanks in advance, VentsLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The picture link that you posted is not showing up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had a similar thing happen with a project. When I asked a real EE, he said that I was reading back the residual value on the bus. Since there weren't any pull up/down resisters in the FPGA the value of the internal signals takes some time to go back to the unexcited state. When I added a delay before reading back it was random again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm, i don't know why you can't see the image. I uploaded it on google drive, you should be able to see it or dl it here:
https://docs.google.com/file/d/0b8zjwv2o45ourjfim3rydmtxsvu/edit I tried to add delay, but still got the same results. Also, when writing to these seemingly unmapped locations, sometimes the program starts acting weird in the debug mode like skipping to the end or crashing the debug mode all together :|- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
so what are actual write/read commands that you are sending?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are your test writes and reads bypassing the data cache?
If not then you are just testing the cache!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page