- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Everyone:
I'm currently using an example VHDL code for a Pulse Width Modulator (simple design) as a Nios II SLAVE Peripheral. As I was trying to modify the VHDL code of the PWM module, I updated the HDL file through the component editor in SOPC Builder. I did the following: 1. Removed the current instantiation of the PWM_MODULE from the SOPC Builder System 2. Right clicked on the component and selected "Edit Component" 3. I removed the older version of the VHDL file and replaced it with the newer version of the VHDL file. 4. Changed the version number from 1.0 to 1.4 5. Instantiated the update dversion of the PWM_Module into the SOPC Builder System 6. Generated the system and exit when it was done 7. Updated the block diagram file with the new Nios II Processor System with the updated PWM_Module 8. did a full recompilation in quartus ii (sorry I forgot to add that last night) 9. Downloaded onto the Stratix FPGA 10. Ran the original PWM Software through Nios II IDE What I modified in the PWM_Module (top-level entity) was the core code. All there is in the file is the entity declaration and an empty behavioural descrption. The purpose for this is I wanted to see if SOPC Builder was actually taking in the changes of the VHDL I made. Unfortunately it did not, I noticed that the LEDs were still flashing as I downloaded the original PWM_Software, in which that was NOT supposed to happen considering that I removed all the behavioural description of the PWM circuit. I'm assuming that Quartus II or the Altera FPGA still contains the older version of my PWM module and I'm not exactly sure how to get SOPC Builder to recognize my latest version of the PWM Module. However, I'm assuming that the software I'm using is old? I'm using Altera Quartus II 5.0 SP2, SOPC Builder SOPC 5 Build 171, FULL LICENSE, FPGA: Stratix Professional Edition - EP1S40F780C5 model. Can someone please reply to this message as soon as possible. Time is critical but greatly appreciate if someone can response soon. I'm willing to explain more in my post anything to show what I'm doing. ThanksLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, I'm replying my own topic which is a little embarassing, however I have encountered further problems.
I'm having problems with the component editor in SOPC Builder as mentioned above. I did further steps to attempt to rectify this solution of my "old design being stuck?" I recreated the Nios II Processor System from scratch and interfaced with a brand new component as a slave peripheral which contains the modified pwm_module VHDL code. As I said before, the modified VHDL code contains an empty behaviour segment which is supposed to do NOTHING. However, after compiling this fresh new design, and did a full compilation, I was still getting the blinking lights on the LEDs. Altera have emailed me to create a different component and rename it differently. I have done that and I was still getting the same results. I even restarted the computer and reinstalled Altera and still no luck. Can some one please give me any suggestions?! I've ran out of options...- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Had you RE-BUILD your software project before you run it as the hardware?
if you had not, the file system.h is not for the latest hardware project,but for the old project. may be it is one of the reason.and i am not sure..
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