On Sat, Jun 7, 2008 at 9:17 AM, Lionel Sainte Cluque <[EMAIL PROTECTED]> wrote: > Hello, > > I am a developper involved in tclspice. Now this project runs, and I focus > on mixed signal simulation. Xspice is integrated in ngspice now (tclspice is > only a version of ngspice by now). Xspice presents a software interface that > permits to add easily "code models". > Code models are pieces of software that models a subcircuit (tipically, or > anything else). I would like to find the way to modify ghdl in order to > compile VHDL code (syntesisable code rather than testbench) as an xspicecode > model > Then a fpga, cpld or the digital part of an ASIC can be instantiated in a > spice simulation. > > I looked carefully at Xspice interface. Now I have to look carefully inside > GHDL. Is there some information on ghdl implementation? Somes clues? I will > read the code, but I am not an expert so I am calling for help. > > Thanks by advance,
Hello Lionel, if i understand correctly you want to do heterogeneous verification with GHDL? I've done something similar in the sense that i'm cosimulating VHDL designs running in GHDL with other models running in MATLAB/Simulink, Open SystemC Initiative (OSCI) simulator or ModelSim. I think you should have a look at the VHPI interface. I plan to release some of my stuff before the end of june... But if you want to have a look at what i've done, i'd gladly send you an example written for an FIR filter. cheers, -Pascal -- Homepage (http://organact.mine.nu) Debian GNU/Linux (http://www.debian.org) LACIME: École de technologie supérieure (http://lacime.etsmtl.ca) _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss