8000 GitHub - trayres/cadr4: CADR4 -- accurate model of the MIT CADR
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

trayres/cadr4

 
 

Repository files navigation

cadr4

Experiments of the third kind... This is an attempt at making a faithful and accurate HDL implementation of CADR. There will be no attempt at making this synthesizable (at this time)!

Random chit-chat

There is a IRC channel on irc.libera.net, ##lispm for random chit-chat. Feel free to send bugs directly to ams@gnu.org.

Setup

Prerequisites

  • Git

  • GNU Make

  • GHDL

    Ideally using the GCC or LLVM code generator, since at some point there will be a simulatd UART to talk to the core.

  • Some sort of VCD viewer:

Build

git clone https://github.com/ams/cadr4
cd cadr4
make suds
make

All build artifacts are created under build directory.

Run

To run a testbench (build/X_tb): make run-X

To run a testbench (build/X_tb) and create the waveforms: make wf-X

To run a testbench (build/X_tb), create the waveforms and run surfer with the waveform file: make surfer-X

waveform.opt file

If there is a X_tb.opt file next to X_tb.vhd, it is used as waveform options file in GHDL (--read-wave-opt).

If the file contains "recreate" in its first line, the file is deleted and recreated. This will show all signal paths.

If the file contains "ignore" in its first line, the file is ignored, --read-wave-opt is not used.

File Organization

  • cadr: CADR schematics in VHDL
  • dip: dip components
  • doc: various documents
  • rom: ROM files loaded to CADR (P)ROMs
  • scripts: helper/utility scripts
  • set: set (a set being a set of pages from the CADR schematics) components
  • soap: utility to generate cadr_*_suds.vhd files
  • tb: system tests
  • ttl: ttl components

Each folder should have a README.md containing more information.

Packages

  • work.set: set components
  • work.cadr: cadr components
  • work.dip: dip components
  • work.sn74: ttl sn74 components
  • work.other: other ttl components (am..., dm..., td... etc.)
  • work.misc: misc functions and procedures (no components)

Documentation

About

CADR4 -- accurate model of the MIT CADR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • VHDL 92.2%
  • C 4.0%
  • Python 3.0%
  • Makefile 0.8%
0