Skip to content

mysterium57632/SLQISC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SLQISC

A collection of tools and implementations around the SUBLEQ (Subtract and Branch if Less than or Equal to Zero) one-instruction set computer. The project is designed for learning and teaching purposes.

Circuit

Multiple variants of a circuit modeling a functional SUBLEQ one instruction CPU using Logisim Evolution can be found in /Circuit.

For further information, read the corresponding README.

Assembler

A Haskell Cabal project implementing an assembler and simulator to compile programs into Subleq instructions, which can then be executed on a SUBLEQ CPU. The simulator also provides a debug environment to simplify the development of demonstration programs for the OISC.

For further information, read the corresponding README.

FPGA

The files located in the /FPGA directory are generated from the Logisim Evolution circuit. The FPGA design is implemented in Verilog.

These generated files represent a hardware realization of the SUBLEQ CPU and can be used for synthesis and deployment on supported FPGA platforms. In particular, the circuit can be flashed onto a Terasic DE10-Lite evaluation board using the Quartus Prime software, allowing subleq programs to be executed on a physical system rather than only in simulation.

About

Subleq Assembler, Computer Circuit and other tools for teaching

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • VHDL 28.7%
  • Verilog 26.4%
  • Assembly 19.4%
  • Haskell 17.4%
  • HTML 6.6%
  • Tcl 0.8%
  • Other 0.7%