- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using Altera's Avalon-MM Master Read/Write template. The problem is, that the adress will not increment automatically. For testing I wrote known data in the memory and verified them with NIOS2. Reading the data with the template, manually incrementing the adress works fine, but I think this will be slower as I cannot use reasonably the fifo. Configuration: 32bit adressbus 32bit databus control_fixed_location=0 control_read_base=x"0c000000" control_read_length=x"00000004"; for starting reading, I set control_go for one clock_cycle high. for reading data, I clock the user_read_buffer input. attached: signal-tap signals (corr_reader_clock=user_read_buffer) Any ideas? Best Regards MarkLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The address isn't incrementing because you are telling the master to move 4 bytes of data (one transfer and it's done). Typically you tell the master to move multiple words of data in sequential memory locations.
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