- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I need help because, I installed all softs and I have licence for C2H (university licence). The problem is that the C2H menu don't appear and cannot find it !!!!! It is not in Eclipse. is there any procedure to make it visible. My projects include BSP. Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have used it in 8.1 but i dont think its available in the newer IDE's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your Reply, Normaly, we have the license for C2H I means that it exist in 10.0 version ! I don't know why it is not accessible. If there is in 8.1 and not in 10.0, It means that ugrade make worst ! Regards If anybody have solution, thanks to send me message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello, I fellowed recommandation that there is no button and I user command line to generate C2H.mk file. There are lot of errors in Altera scripts that not find some files. After corrected access file I generated the C2H.mk and than started making compilation the make app returned : Compiling board_diag.c... nios2-elf-gcc -fno-inline -D ALTERA_HARDWARE_COMPILE -D CHAC_THIS -D '__attribute__(x)= ' -D '__restrict__= restrict' -D '__builtin_va_list = int' -D '__ULong = unsigned long' -D '_fpos_t = long' -D 'wint_t = char' -D '_flock_t= int' -D '__FILE= __SFILE' -D '__extension__= ' -D '__prompt=' -D '__const=const' -D '__inline__=' -MD -E -fno-inline -I../test1_bsp/HAL/inc -I../test1_bsp -I../test1_bsp/drivers/inc -DSYSTEM_BUS_WIDTH=32 -D__hal__ -pipe -DALT_NO_INSTRUCTION_EMULATION -DALT_SINGLE_THREADED -O0 -g -Wall -EL -mhw-div -mhw-mul -mno-hw-mulx -fno-inline board_diag.c -o obj/board_diag.c2h_pre -MF obj/board_diag.d The Nios II C2H Compiler is generating accelerator_board_diag_sqr.v... H:/altera/10.0/nios2eds/components/altera_avalon_c_hardware_accelerator/c2h-generate/c2h-generate --classpath=H:/altera/10.0/nios2eds/components/altera_avalon_c_hardware_accelerator/c2h-generate/com.altera.c2h.jar --classpath=H:/altera/10.0/nios2eds/components/altera_avalon_c_hardware_accelerator/c2h-generate/com.altera.widgets.jar --ptf=../../nios_system.sopcinfo --group=board_diag --qpf=../../DE2_70_Basic_Computer --c2h_force_recompile=TRUE --c2h_quartus_compilation=FALSE --c2h_report_only=FALSE --flow_timestamp=././c2h_hdl-t --target_cpu_name=CPU --chac_generate_script_location=H:/altera/10.0/nios2eds/components/altera_avalon_c_hardware_accelerator/chac-generate --projectname=DE2_70_Basic_Computer --accelerator=sqr,././obj/board_diag.c2h_pre,././alt_c2h_sqr.c,0sqr H:/altera/10.0/nios2eds/components/altera_avalon_c_hardware_accelerator/c2h-generate/c2h-generate --classpath=H:/altera/10.0/nios2eds/components/altera_avalon_c_hardware_accelerator/c2h-generate/com.altera.c2h.jar --classpath=H:/altera/10.0/nios2eds/components/altera_avalon_c_hardware_accelerator/c2h-generate/com.altera.widgets.jar --ptf=../../nios_system.sopcinfo --group=board_diag --qpf=../../DE2_70_Basic_Computer --c2h_force_recompile=TRUE --c2h_quartus_compilation=FALSE --c2h_report_only=FALSE --flow_timestamp=`cygpath -m "./"`/./c2h_hdl-t --target_cpu_name=CPU --chac_generate_script_location=H:/altera/10.0/nios2eds/components/altera_avalon_c_hardware_accelerator/chac-generate --projectname=DE2_70_Basic_Computer --accelerator=sqr,`cygpath -m "./"`/./obj/board_diag.c2h_pre,`cygpath -m "./"`/./alt_c2h_sqr.c,0sqr /usr/bin/sh: -c: line 0: unexpected EOF while looking for matching ``' /usr/bin/sh: -c: line 1: syntax error: unexpected end of file make: *** [c2h_hdl-t] Error 2 can you help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look in the "Nios II IDE", not "Eclipse for Nios II". You'll find it under the "Legacy Nios II Tools".
Sorry I can't comment on whether or not it works, but the acceleration option is definitely there...note that you have to select the name of the function you'd like to accelerate for it to work. Cheers, -- slacker- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks alot for your help, I begin to see a big sh..... there are 2 softwares NIOSII 10.0 IDE environnement for soft and SBT ECLIPSE and each soft has advantage and problems. In the first one ther is not NIOS MENU to rebuilt the BSP (or edit it). In the SBT tool, at my opinion, it's the best tool for programming, the problem is that it's impossible to use C2H because not visible !!!! What happened ? 2 tools to use the same project ? Its impossible to manage ! I hope ALTERA will correct this mistake. At now, It's impossible for me to teach FPGA and IP processors based on ALTERA messy Tools !!!! If some one have methodology to use One tools to design software and to use C2H, Thank's in Advance. Regard's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It was decided not to do any further development work on C2H a while ago....just maintenance. Since SBT for Eclipse (the new IDE) was developed _after_ this decision, there's no C2H available there.
The "old"/Nios II IDE method has a System Library rather than a BSP. If you want to teach/learn C2H and want a GUI to do it with, you should probably stick with the legacy Nios II IDE. As an aside, Altera's tools are definitely _not_ "messy". Perfect? No, but if you have experience with other FPGA companies and, indeed, other EDA vendors...Altera's definitely near the top with the tools they provide. Regards, Happy Holidays and you may want to post exactly what sort of courses/material you're trying to prepare or even contact your local Altera representative to see if they can guide you in a more fruitful direction... -- slacker- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Thank you for your rapid reply. I begin my course by designing integer SQRT function in VHDL. the second step is to use the algorithm C designed on NIOS. The 3rd step is to use C2H (in middle of January) to compare time computation. I begin with BSP concept and it is very interesting because I can modify SRAM/DRAM spaces for code and data and it permit to identify latencies depending of kind of memory and cache. It means that I cannot use C2H because I must change soft design tool and I have not more time to learn other tools and other approach different than BSP concept. Xilinx has Handle C to VHDL (powerfull tool) design tool and it's the same as C2H tool. I am the local ALtera representative of University of Paris Orsay. Is it possible to use makefile approche to add C2H for some C functions ? I read about nios2-c2h-generate-makefile command shell tool to generate C2H.MK It don't work because there is some bugs because include paths and some other thinks. this tool associated to Eclipse Tool is a good solution for me,if it work, to continue to use ECLIPSE based TOOL more perfect than the IDE TOOL ! Happy christmas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello, Happy christmas for all. I have problem using NIOS II 10.0 IDE Tool When I right click on project it give me error : eclipse.buildId=M20060629-1905 java.version=1.6.0_14 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR Command-line arguments: -data H:\altera\design\TP_POP5\DE2-70_Basic_Computer\eclipse_ide -os win32 -ws win32 -arch x86 Error Sat Dec 25 10:55:40 CET 2010 Invalid Menu Extension (Path is invalid): RunAsLauterbachISS Help !!!!!!!!!!

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