Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU #35

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

CPU #35

wants to merge 8 commits into from

Conversation

dopamane
Copy link
Member

@dopamane dopamane commented Jul 18, 2024

Implement a simple CPU with a reduced instruction set. Support two commands, halt and output.

@dopamane
Copy link
Member Author

I think I need some memory first. Co-buffering is hacky, though could be used as a simple memory loader.

@dopamane
Copy link
Member Author

Boot sequence:

  1. Power on.
  2. Transmit program on UART using serialport and load each byte into a "memory" process.
  3. When memory is full begin executing pc=0.

@dopamane
Copy link
Member Author

dopamane commented Jul 18, 2024

Replicate memory with UART until memory is tested.

@dopamane
Copy link
Member Author

Start with ledCtrl and buffer two byte commands instead of single byte commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant