Skip to content

MaticBabnik/remimo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReMiMo

A 16-bit hardwired CPU built in Logisim Evolution.

It's based on MiniMiMo, which is based on Warren Toomey's "An Example Hardwired CPU".

CPU documentation

MImo Assembler

The most scuffed assembler ever!?

Usage

To assemble a Logisim RAM image run:

node mia.js source.mia output.out --raw

When assembling for the emulator use the --raw flag to spit out a binary file instead.

node mia.js source.mia output.out --raw

For example programs see the mia/test directory.

Remimo EMulator

Since Logisim only runs at about 120Hz (60 IPS) I wrote a faster emulator (more than 300000x faster). The index.ts is a simple IO-less benchmark that loads a file and mesures executed instructions per second.

Extending / porting

The remimo.ts file is the portable emulator core. To implement memory mapped IO wrap a UInt16Array with a custom getter/setter.

Screenshot of the main circuit

About

16-bit hardwired CPU built in Logisim Evolution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published