Forum Discussion
about the error: Port "" does not exit in macrofunction \"NIOS"\
Dear friends
I am a new user of the product named motionfire kit. Now, I meet a difficulty and want to consult you. when I started compilation for the FPGA project of motionfire kit, there appeared the following messages after analysis &synthesis : Error: Port \"A_to_the_roto\" does not exist in macrofunction \"NIOS\" Error: Port \"B_to_the_roto\" does not exist in macrofunction \"NIOS\" Error: Port \"S_to_the_roto\" does not exist in macrofunction \"NIOS\" Error: Port \"av_waitrequest_from_the_can0\" does not exist in macrofunction \"NIOS\" the archived project is attached in the mail. I do not know what is the reason for these error. Please give me some advices . Thanks a lot21 Replies
- Altera_Forum
Honored Contributor
hi, those error messages appeared after I finish the archiving process.
Then, I can open my archive file successfully which is already attached in the mail. Please try to restore the archive file and help me find out what is the reason for errors. thanks a lot - Altera_Forum
Honored Contributor
Hi there i have had the same problem, and i sucessfuly solve it. First about problems with:
--- Quote Start --- Error: Port \"A_to_the_roto\" does not exist in macrofunction \"NIOS\" Error: Port \"B_to_the_roto\" does not exist in macrofunction \"NIOS\" Error: Port \"S_to_the_roto\" does not exist in macrofunction \"NIOS\" --- Quote End --- U need to find in file: openfire.vhdl all position with: A_to_the_roto B_to_the_roto S_to_the_roto and change it like u change roto library in SOPC Builder. For example: 1. In SOPC Builder u get error with roto library because of the same name was already use, so u rename it to for example: roto1 2. In openfire.vhdl file, found all place with text i said before and change it to: A_to_the_roto1 B_to_the_roto1 S_to_the_roto1 This is the solution for first problem. Now about the problem of: --- Quote Start --- Error: Port \"av_waitrequest_from_the_can0\" does not exist in macrofunction \"NIOS\" --- Quote End --- This is the software problem, in older version of Quartus ports in SOPC has different name in some of NIOS ports u generated. I find out that in Quartus II 10.0 port: av_waitrequest_from_the_can0 has been named as: av_wreq_from_the_can0 Like before u need to find all position in file: openfire.vhdl with text: 'av_waitrequest_from_the_can0' and 'av_waitrequest_from_the_can1' and simple change it to: 'av_wreq_from_the_can0' and 'av_wreq_from_the_can1' I think that is all, now i have problem with uploading program to the board. Anyone have idea why Quartus II Programmer don't see board?? Which is connected by RS232 converter to USB. - Altera_Forum
Honored Contributor
Hello Krish,
What kind of programmer are you using? is it byte blaster ? If you are using byte blaster and RS232 usb converter then you might run into problem due to the fact that both are using the same kind of driver. Please verify if you have byte blaster/altera programmer is in your system settings(meaning correctly installed) Then connect the programmer with your board and then start your system. you should be ready to go then. all the best. - Altera_Forum
Honored Contributor
The MotionFire Board using Cyclone 3 with Uart ports RS232 i'm using converter from RS232 to USB and i'm trying to program this board using USB Blaster. I'm trying to program it by Active or Passive serial but no result, Quartus II Programmer show No Hardware :(
It's weard because i can easyly control board by hyperTerminal connecting by port com4 which is USB converter. - Altera_Forum
Honored Contributor
Hello Krish, Its due to the fact that the RS232 USB converter and USB blaster uses same resources. Please remove your RS232 USB converter from your system. Reinstall the USB Blaster driver, restart your system and then try to connect to the board. It should work. Please hook your USB serial port to another PC to have communication to your board. If you use RS232 converter and USB blaster from the same PC it won't work. You can verify this by looking at your controlpanel-> system -> hardware-> device manager. If the usb blaster is connected properly you should see the altera usb blaster here. Else you wont see or you see with warning sign. In this case you have reinstall the usb blaster after removing the RS232 usb converter. All the best.
- Altera_Forum
Honored Contributor
Thx i will try it out, and will tell if it's work ;)
- Altera_Forum
Honored Contributor
It work i have some problems with programmer but i figure it out :)
- Altera_Forum
Honored Contributor
Thanks a lot, kris2288 and rsenthil78.:)
Your warm help led me through those obstacles in openfile. Did you fabricate own board and replant those source code in your own system? I am planning to do so. Best regards - Altera_Forum
Honored Contributor
maybe some source files had lost before compilation. Please check your all source files , and gurantee there're still exist.
- Altera_Forum
Honored Contributor
:eek: Hi man.. I faced the same problem, the only thing i did was to change the objects names ... and problem solved ..
Hope being helpful .. :) PS: Never assign a name already used by Quantus .. and if the error hold on, change the names again .. cus maybe you assigned a Quantus name in the object .. :cool: