Le 2016-05-19 12:48, Christiano SA a écrit :
The researcher made several codes to interfacing with ghdl, here:
http://ygdes.com/GHDL/
The fb code has a problem:
~/fb $ ghdl -a fb_ghdl.vhdl
Stored value type does not match pointer operand type!
 store i32 %101, [0 x i32]** @work__fb_ghdl__pixel
 [0 x i32]*
raised PROGRAM_ERROR : ortho_code_main.adb:294 explicit raise
ghdl: compilation error
<snip>


Thank you Christiano,

My code was developped for an old GCC version on 32 bits x86 Linux,
which is very different from your platform.

I'm surprised you made it work under a totally different
configuration without the long explanations that are needed
to understand why I wrote it this way. I didn't want to play
too much with the GHDL pointers and I made implicit "casts" in C
that were not detected by GCC.

I am curious to see your code work on ARM, I might also upload
it to my public repository if you send it to me.

Best regards !
yg

_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to