Lola2 Compiler Source Code

Download new library modules and examples to use with CPIde and Component Pascal. Forum members can also upload their own source code examples.
Post Reply
cfbsoftware
Site Admin
Posts: 523
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Lola2 Compiler Source Code

Post by cfbsoftware » Wed Jan 19, 2022 5:53 am

The hardware description language (HDL) Lola (Logic Language) was designed by Niklaus Wirth in 1990 as an effort to present a simple and effective textual description of digital circuits. Other, similar but more complex, HDLs that you may have heard of are VHDL and Verilog.

The use of the Lola2 compiler to translate Lola HDL code to Verilog is described in the document:

An Implementation of Lola-2 or Translating from Lola to Verilog, N.Wirth, 30.11.2014:

https://www.astrobe.com/wirth/LolaCompiler.pdf

The Lola2 language definition is:

https://www.astrobe.com/wirth/Lola2.pdf

The attached zip file contains the source code files of Niklaus Wirth's Lola2 compiler converted to Component Pascal. They can be compiled using CPIde to produce a command-line executable Lola2.exe that runs on Windows 10 or 11.
Attachments
Lola2.zip
(11.86 KiB) Downloaded 7447 times

Post Reply