On Apr 17, 2010, at 7:15 PM, Yann Guidon wrote: > Hello, > > I know that Tristan Gingold has thought about this, > and tonight I can't get my ideas straight... So I was > thinking about how to make a good VHDL synthesizer > with minimal effort (compared to the complexity of > commercial ones) and I think that I have found > how to do this. Please excuse me if I get something > wrong or if I re-invent the wheel, the car and the road... > > > Let's start with GHDL : it does not need to be deeply modified. > What we need is some way to convert valid VHDL to EDIF, > and GHDL converts VHDL to executable code. > > My idea is to create a virtual/pseudo-CPU architecture (a bit like > Java) > that GCC will easily target. There can be infinite registers, > unconstrained memory etc because the CPU is not a real one. > The output does not even need to be assembled into binary code.
You might want to look at LLVM. There exists gcc-llvm compliers so making GHDL compatible might not be that hard. It is also a nice divider between frontend and backend. There are already some projects that are trying to leverage LLVM to generate netlists. Also an LLVM netlist generation project would be more general and you might have an easier time finding contributors. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
