> Hi,
Hi !

>i am using ghdl in a little different way than most others.
Or at least, that's what you suppose :-)

> I have 
>linked ghdl and c code, I start my c application and it starts ghdl. In 
>my c application, I start a java virtual machine. I can call c methods 
>from ghdl code and i can call java methods from c without any problems. 
Have you tried compiling the Java code with GCC ?

>But when I call the c methods that previously called java without any 
>problems from ghdl, I always get memory errors when they try to access 
>the java methods:
>   * Initializing the jvm before calling the ghdl main method leads to:
>     NULL access dereferenced
>   * Calling the ghdl main method and initializing the jvm lazy causes
>     a segmentation fault
I'm having difficulty getting around GHDL's bound checks as well.
Mixing C and GHDL is far from obvious and i'm currently
fighting the system concerning the strings :-D
Maybe mixing 3 langages is too much...
Remeber that GHDL is already written in Ada :-)

>Has  ghdl some restrictions using memory?
certainly, I'm more and more thinking about looking
at the source code.

> Can anyone confirm these 
>problems? Are there any options to solve these problems or other ideas 
>how to deal with it?
show us some typical source code first :-)

>Greetings Markus
_o/ good luck !

yg



_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to