Hi Svenn, apart from YGs approach (which I followed as well) you could have a look at MyHDL and possibly use a co-simulation approach based on VHPI. It helped me to produce synthesizable VHDL code and write extensive test benches in one go. There's a little learning curve, but it pays off soon.
Greetings, - Martin >> >> I guess it is not easy to bind a serial port to ghdl and rely on the >> concurrency in VHDL to read, interpret and send commands the way I do >> in FPGA hardware, so my question is if there is a programming language >> which would help me that I don't know about yet. Hopefully it should >> run on both windows and Linux, but Linux-only is fine. Windows-only is >> not so fine, but ok. Assume that I have only knowledge (and not deep >> knowledge) of c, tcl, python, vhdl and ghdl. >> >> Any comments welcome. >> >> -- >> Svenn > > You might like to write your own VHPI module, allowing GHDL to > talk to other OS things in C. Have a look at some examples at > http://ygdes.com/GHDL/ and a similar project at > http://tech.section5.ch/news/?p=124 > Then you can make you C code blocking or not, and design the FSM > with all the expressive power of VHDL. > > Good luck ! > > _______________________________________________ > Ghdl-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/ghdl-discuss _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
