/simple-pdp11

Simple PDP11-equivalent CPU implemented in vhdl. Comp. Arch. School project

Primary LanguageVHDL

Simple PDP11

Simple PDP11-equivalent CPU (w/ assembler) implemented in vhdl. Computer Architecture School project.

Dependencies

  1. Gtkwave
  2. Docker
  3. Bash

Make sure docker can invoke run without sudo.

$ sudo groupadd docker
$ sudo usermod -aG docker $USER
$ newgrp docker 

To run all tests:

$ ./run-test

To run specific test:

$ ./run-test <test name without suffix>

To create new unit with template

$ ./new <unit name> <unit optional path>

To run specific non-vunit-test file:

$ ./run <unit name without suffix>

To clean output and kill the daemon:

$ ./clean

To list the available test cases:

$ ./list-tests

To view the logs of tests:

$ ./logs <optional name of test file with no suffix>

To view the wave file of some test case

$ ./wave <test file name>.<test case name>

To run the assembler on a given program

  • Place the program in "assembler/io"
$ python assembler/assembler.py --input_file <filename>