Quoting Lionel Sainte Cluque <[EMAIL PROTECTED]>: Hi,
> 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 Bear in mind that GHDL is not a synthetizer. I don't know if this is important to you. > 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. Well, there are no documentations on ghdl internals. It is organized like a compiler with the usual passes : lexical, syntaxic, semantic and code generation. It also comes with a run time library. If you have more questions, I will be happy to answer. Tristan. _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss