- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I've created a simple if-then type decoder as custom IP for Nios before, however, all it needed to do was look at an input number, go to the right if-then statement to select the correct output, and output that output. Now, I am looking at creating a more complex custom IP module that requires a finite state machine to cycle through a set number of times before the correct output is calculated. What I'm having trouble on a personal level understanding is how to take maybe a done signal (which in the Verilog form is being used) or whatever is needed to make sure that all the states have cycled through to the intended state where the correct output can be sampled and change that into a standardized Altera Avalon IP interface specifically for use with the Nios II processor. Thanks and much appreciated!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Huh?
This is a very confusing description.
You want to create a state machine, yet you are using a Nios processor so you could write software code to do whatever you need.
You need the state machine to go through all states and get to a particular state. OK, so what are the requirements for the state transitions? Are there inputs that control the state transitions? How do you get to this final state that you need it to get to?
Then I think you are saying that when you get to this final magic state, how do you let the Nios processor know that this has happened? You could create a CSR as part of the state machine (or a separate component) that sets a bit the processor could read over an Avalon interface. Or better yet, the state machine could send an interrupt to the processor directly instead of having to build a register.
I have no idea if any of this is helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let me know if there is any update from previous reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to https://supporttickets.intel.com/, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution, give Kudos and rate 5/5 survey
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page