- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to develop a system with my development kit which basically consists of:
- I provide my input data through the four pushbuttons to Nios
- Nios, with this information, accesses - through simple parallel accessement on, let´s say, addr# 1 - my peripheral
- My peripheral instantly (combinational circuit) provides a response through an addr# 2
- Nios gets such response and shows it through the eight leds
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Following Figure 1-1, the easiest and simplest way is to simply add (2) more PIO instances just like how the LED was handled. (one for your addr# 1 NIOS->peripheral, one for addr# 2 peripheral->NIOS).
Then connect the PIO top level "conduit" wires to your VHDL peripheral. Getting beyond a trivial example, you would want to google for the topic of creating Qsys "components". e.g. https://www.youtube.com/watch?v=v6rhbvablo8 https://www.altera.com/support/support-resources/design-examples/intellectual-property/embedded/nios-ii/exm-checksum-acc.html ftp://ftp.altera.com/up/pub/altera_material/13.0/tutorials/making_qsys_components.pdf- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Following Figure 1-1, the easiest and simplest way is to simply add (2) more PIO instances just like how the LED was handled. (one for your addr# 1 NIOS->peripheral, one for addr# 2 peripheral->NIOS). Then connect the PIO top level "conduit" wires to your VHDL peripheral. Getting beyond a trivial example, you would want to google for the topic of creating Qsys "components". e.g. https://www.youtube.com/watch?v=v6rhbvablo8 https://www.altera.com/support/support-resources/design-examples/intellectual-property/embedded/nios-ii/exm-checksum-acc.html ftp://ftp.altera.com/up/pub/altera_material/13.0/tutorials/making_qsys_components.pdf --- Quote End --- Thank you very much, ted!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you prefer a full Avalon peripheral: https://www.altera.com/support/support-resources/design-examples/intellectual-property/embedded/nios-ii/exm-avalon-memory-slave.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- If you prefer a full Avalon peripheral: https://www.altera.com/support/support-resources/design-examples/intellectual-property/embedded/nios-ii/exm-avalon-memory-slave.html --- Quote End --- Thank you derim
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