Lyng is 16-bit pipelined processor created as a part of the Advanced Computer Architecture course at Technical University of Denmark.
-
Install Chisel (instructions)
-
Write your assembly code (reference for Lyng ISA in assembler README) or use one of the provided examples.
-
Compile and run in Scala simulator.
$ make PROGRAM=<path> simulate
If the path is not provided, simulation will attempt to use program.lisa
in top level of the repository.
- Anything written to
0xFFFE
memory location will be printed into the terminal by simulator.
$ make PROGRAM=<path> vcd
$ sbt run