- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
EPCS is directly connetcted to Cyclone.
Can the fpga read/write EPCS after configuration? thanksLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, NIOS can. You need to add an 'epcs_controller' module in SOPC-builder. Altera docu 'Nios II Processor Reference Handbook' describes in chapter 12 how to do this and gives further links to HAL software usage.
In my design the first blocks contains the FPGA configuration data and boot software. This occupies less than 4 blocks of 64k each (out of 8 in an EPCS4). The last block in device is used for storing serial number and alterable config data. Mike- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
The Altera EPCS configuration device connects to the FPGA through dedicated pins on the FPGA, not through general-purpose I/O pins. In my case I do not use NIOS in my design.Can I access the EPCS? I don't know how to access the dedicated pins! Thanks and Regards- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The EPCS controller peripheral talks to the EPCS device via the dedicated pins; the EPCS device should be connected to the FPGA with these dedicated pins. The literature mentioned in the post above tells you how to use the controller to access EPCS in your Nios II software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to visit EPCS without NIOSII?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, there is a way, but this is the Nios forum so you may do better asking in other places.
My suggestion on how to proceed is to install the Nios II kit and look in one of the example designs, for example the 1c20 full featured design. In the verilog for the EPCS controller there is a module called tornado_epcs_controller_atom which looks as though it has the right pins on it. If you try instantiating one of those in your design then it will probably be connected up correctly by Quartus II.
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