- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone have any suggestions regarding the most straightforward (easiest) way to have a Nios processor evaluate inputs continuously during run time? Using Nios II software build tools for eclipse right now and doing run as hardware, it only evaluates input states once for each run. Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I doubt this is it, but the following code would do that:
while (1) { //evaluate inputs here } If you can post some sample code of what you are trying to do it may help people understand the question better.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
checking the inputs in a while(true) loop will do. what do u exactly mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you both. Ive had only a few programing classes, I've got refresh myself on these fundamentals. After running my program I thought I had to set up a Micro/0S or something, but both your suggestions work fine for now. This is for a senior design project, I'm trying to develop a digital synthesizer platform for guitar, as I'm an electronics engineering student this is expanding my boundaries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I needed this too

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page