Skip to content

Arduino program for testing ALU from Ben Eater's 8-bit computer

License

Notifications You must be signed in to change notification settings

adamldoyle/arduino_alu_tester

Repository files navigation

arduino_alu_tester

Arduino program for testing ALU from Ben Eater's 8-bit computer. Iterates through all numbers on both registers and validates transfers, addition and subtraction. Note: doesn't currently check any flags or carry out because I ran out of pins on my Arduino Nano.

Included are a bussed and non-bussed version of the script depending on setup. Pin designations are included at the top of each script.

Requires Arduino with at least 12 data pins (not including serial pins) - tested with Arduino Nano.

Requires two 8-bit shift registers to handle writing to registers and configuring register input flags and ALU sub flag.

Note: clock module isn't currently used for anything (clock is driven by Arduino).

Bussed layout

Non-bussed layout

About

Arduino program for testing ALU from Ben Eater's 8-bit computer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages