- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm looking to use NIOS to:
-take an incoming string from the UART which represents a number -use this to number to program 10 different 16bit registers that will feed custom counter-like logic outside the NIOS. I have the UART setup and C code written, but what is the best way to interface my NIOS and the custom logic? Should I use the PIO to setup a Data Address bus to write to each of these registers? Or is there a way to use a bridge to link internal NIOS registers to my custom logic?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The simplest solution is to wrap your custom logic into an Avalon MM slave, so you can read/write the register with common IORD/IOWR calls.
If you don't want to control the user component as a MM Slave, you can use any other interface, serial port or whatever. The PIO solution is an option, but IMHO a very inefficient one.
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