Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mgriebling/lola

A digital design language by Nicklaus Wirth, similar to VHDL and Verilog, but much simpler and easier to master.
https://github.com/mgriebling/lola

circuit-compiler digital-circuit-design lola simulator swift verilog vhdl wirth

Last synced: 7 days ago
JSON representation

A digital design language by Nicklaus Wirth, similar to VHDL and Verilog, but much simpler and easier to master.

Awesome Lists containing this project

README

        

A digital design compiler and simulator to produce and test designs based on a Lola circuit description.
Invented by Niklaus Wirth (designer of Pascal and many other languages) Lola is similar to other high-level circuit design languages like VHDL and Verilog except much simpler to learn and use.

For example, here's the design of a 4-bit binary counter:

```
MODULE Counter0 (IN clk: BIT; OUT d: [4] BIT);
REG (clk) R: [4] BIT;
BEGIN
R := {R.3 ^ R.3 & R.2 & R.1 & R.0, (* R.3 *)
R.2 ^ R.2 & R.1 & R.0, (* R.2 *)
R.1 ^ R.1 & R.0, (* R.1 *)
~R.0}; (* R.0 *)
d := R
END Counter0.
```