Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Problem with the MotionFire kit

Hello,

I've acquired a MotionFire kit (a Cyclone III with some motion control hardware attached to it), and I'm trying to get the build environment up and the code to compile. I'm new to HDL, and I'm running into some compile errors that I don't know how to fix.

Here's the error output:

Error (10839): Verilog HDL error at eth_avalon_functions.v(17): declaring global objects is a SystemVerilog feature

Error (10839): Verilog HDL error at eth_avalon_functions.v(28): declaring global objects is a SystemVerilog feature

Error (10839): Verilog HDL error at eth_avalon_functions.v(37): declaring global objects is a SystemVerilog feature

Error (10839): Verilog HDL error at eth_avalon_functions.v(47): declaring global objects is a SystemVerilog feature

Error: Quartus II Analysis & Synthesis was unsuccessful. 4 errors, 19 warnings

Error: Peak virtual memory: 190 megabytes

Error: Processing ended: Thu Aug 19 09:07:09 2010

Error: Elapsed time: 00:00:03

Error: Total CPU time (on all processors): 00:00:03

Error: Quartus II Full Compilation was unsuccessful. 6 errors, 19 warnings

I tried changing the Verilog HDL Input setting in Assignments->Settings->Analysis&Synthesis Settings to SystemVerilog, but that just caused even more compile errors.

Can anyone give me a clue as to how to get this software to build?

Thanks!

14 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm beginning to think that Arrow sold exactly two MotionFire kits.

    :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have the same problem in NIOS. I'm not very experience in MotionFire. My professor write to programmers whose program MotionFire and They say they will write working program under Quartus 10.0 and NIOSII 10.0 but i don't really trust them. So I start to write my own Openfire program based on Their code. I think U successfully solve Quartus Compilation problem :) Now I'm trying to make program controlling only under NIOSII, when I finished it I will try to make communication by Ethernet:)

    But in this problem which we get:

    array type has incomplete element type

    I think this problem is not problem of 'of_cmd.h' file, I think this problem i going somewhere else, but I don't know where exactly and how deep is it going. I write on some forum, and They just don't know how it is possible this program don't work fine.

    Sorry for my English:) Good luck and write me how is it going with your programming.

    Oh I forgot to add file include You need to go to proporties of your project in project tree (without '_bsp' word near folder), then you go to C/C++ builder section and they last section in it but there is also second (I think chance to add file as include), go to proporties like I said above and go to NIOSII Builder option and then there is only one other section go there there will be some boxes where You can add your files you want too add.

    I'm tried othere way, just drag and drop folder/files into Your project in NIOSII programmer :) I find out that it work fine.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi there,

    Thanks for offering to help! I actually got in contact with my local FAE, and he had to write some patches to the FPGA project to make it compile. I'll ask him if I can post the patches. Mostly it turned out to be naming problems with the rotoenc block.

    Did you manage to get any of the Nios projects to build? I'm stuck on the openfire2 project right now, specifically in of_cmd.h:

    "array type has incomplete element type of_cmd.h /of2 line 34 C/C++ Problem"

    I'm trying to make the MotionFire control two brushed servos with a single FireDriver board. This should be possible, but I'm just not sure where I should begin to make the changes fromt he kit's default setting (a single brushless servo). Do you happen to know if can you do it from the example program? If not, where would I start making changes to the code?

    What's your experience with the MotionFire been like? I'm finding the documentation sort of... Sparse. I can't figure out how to set the include paths and libraries that they want; the documentation seems to refer to menus that don't exist anymore.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hymm it's weard i'm compilig i think the same program. I'm too have MotionFire problems, but i have successfuly compiled it and programm. Tell me exactly what aru u doing and in what do u compile FPGA or CPLD?? Mayby i will help u.