[Oberon] A C++ version of the Lola-2 compiler and an Oberon to C++compiler
rochus.keller at bluewin.ch
rochus.keller at bluewin.ch
Wed Apr 17 16:38:54 CEST 2019
@ peter at easthope.ca, Lyall E.
>> From your imagination you create a Lola-2 text specifying hardware circuitry?
>> Then translate to C++?
There are three projects.
The primary goal is to build an IDE for the Lola-2 hardware description language with an integrated Lola-2 compiler. You find it here: github.com/rochus-keller/LolaCreator
Then there is a project with the goal to create a C++ version of Wirth's Lola-2 compiler (written in Oberon) which can be integrated with LolaCreator. That's this project: https://github.com/rochus-keller/Lolac
And finally there is a tool to analyze and convert Oberon code to equivalent C++, which is here: https://github.com/rochus-keller/Oberon
So as you see it is not the goal to use C++ as a hardware description language here; if you're interested in this application of C++ have a look at https://en.wikipedia.org/wiki/SystemC or the Xilinx or Intel (Altera) HLS tools which can translate algorithms written in C++ to Verilog.
Also Lola-2 is translated to Verilog. Lolac will be extended in future to directly generate the intermediate language of Yosys (RTLIL/ILANG).
Best
R.K.
More information about the Oberon
mailing list