FPGARelated.com
Forums

SOPC BUILDER - SOFTWARE GENERATION

Started by Julien Chevalier June 8, 2004
Hello,

Im' using Quartus 4 and SOPC Builder 4.
I'm preparing a nios design, but i've got a trouble with software build.

The point is that the only way I have to generate the soft is to 
regenerate the whole system (both soft and hard).

I obviously tried to use the command line tools, in vain.
I tried to use the c macro offered in the generated modelsim do file ... 
but it's still not working ...

Here is the error i have in the SOPC SDK SHELL when try to build 
montest.c code :

	[SOPC Builder]$ nios-build montest.c
	Can't use string ("-1") as a HASH ref while "strict refs" in use 	at - 
line 478.

And attached is the log of the modelsim shell.

If anybody has an idea from where it comes from, please let me know.

Thanks for your attention.

Julien Chevalier
translate knight to french and add a j att voila dot fr
Julien Chevalier <translate_to_french_the_word_knight_and_add_a_j@voila.fr> writes:

> Here is the error i have in the SOPC SDK SHELL when try to build > montest.c code : > > [SOPC Builder]$ nios-build montest.c > Can't use string ("-1") as a HASH ref while "strict refs" in use at
I seem to recall that I got this message when I used the wrong perl installation. You have to make sure that you use the included cygwin and perl distriutions. Petter -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
I got this error when my c source was not in the cpu_sdk/src directory. I
moved my
source to that directory under my project now all is better. Let me know if
it works for you.

If you have your apps engineer on speed dial.......You might be designing
with Altera. hahahaha
For you Xilinx guys just do the subsituition.


"Julien Chevalier"
<translate_to_french_the_word_knight_and_add_a_j@voila.fr> wrote in message
news:ca3vfe$9be$1@s1.read.news.oleane.net...
> Hello, > > Im' using Quartus 4 and SOPC Builder 4. > I'm preparing a nios design, but i've got a trouble with software build. > > The point is that the only way I have to generate the soft is to > regenerate the whole system (both soft and hard). > > I obviously tried to use the command line tools, in vain. > I tried to use the c macro offered in the generated modelsim do file ... > but it's still not working ... > > Here is the error i have in the SOPC SDK SHELL when try to build > montest.c code : > > [SOPC Builder]$ nios-build montest.c > Can't use string ("-1") as a HASH ref while "strict refs" in use at - > line 478. > > And attached is the log of the modelsim shell. > > If anybody has an idea from where it comes from, please let me know. > > Thanks for your attention. > > Julien Chevalier > translate knight to french and add a j att voila dot fr