Skip to main content
QUICK REVIEW

[Paper Review] A Simple Multi-Processor Computer Based on Subleq

Oleg Mazonka, Alex Kolodin|arXiv (Cornell University)|Jun 14, 2011
Neural Networks and Reservoir ComputingComputer Science3 references14 citations
TL;DR

This paper presents a hardware implementation of a 28-processor multi-core system using only the Subleq instruction set, a minimal one-instruction computer architecture. Built on a low-cost FPGA, the system achieves computational performance comparable to a modern personal computer CPU, with a custom compiler translating C-style code to Subleq machine code.

ABSTRACT

Subleq (Subtract and Branch on result Less than or Equal to zero) is both an instruction set and a programming language for One Instruction Set Computer (OISC). We describe a hardware implementation of an array of 28 one-instruction Subleq processors on a low-cost FPGA board. Our test results demonstrate that computational power of our Subleq OISC multi-processor is comparable to that of CPU of a modern personal computer. Additionally, we provide implementation details of our complier from a C-style language to Subleq.

Motivation & Objective

  • To demonstrate that a minimal instruction set architecture (Subleq) can be scaled into a high-performance multi-processor system.
  • To implement a working, scalable multi-processor system using only Subleq instructions on affordable FPGA hardware.
  • To develop a compiler that translates high-level C-style code into efficient Subleq machine code for the multi-processor architecture.
  • To evaluate the computational throughput of the Subleq-based system and compare it to conventional personal computer CPUs.
  • To explore the feasibility of building complex, general-purpose computing systems from a single, universal instruction.

Proposed method

  • Designing a 28-processor array using the Subleq instruction set, where each instruction performs subtraction and conditional branching.
  • Implementing the Subleq processors on a low-cost FPGA board using hardware description languages (HDLs) for logic synthesis.
  • Creating a custom compiler that translates C-style programs into sequences of Subleq instructions for execution on the multi-processor array.
  • Using a shared memory model to enable inter-processor communication and task coordination across the 28 cores.
  • Optimizing the compiler to reduce instruction count and improve execution efficiency on the Subleq architecture.
  • Validating the system through benchmarking and performance measurement using standard computational workloads.

Experimental results

Research questions

  • RQ1Can a multi-processor system built exclusively from Subleq instructions achieve performance comparable to a modern personal computer CPU?
  • RQ2How efficiently can a high-level C-style language be compiled into the Subleq instruction set for a multi-core architecture?
  • RQ3What are the practical limitations and performance bottlenecks when scaling a one-instruction set computer to multiple processors?
  • RQ4To what extent does the simplicity of the Subleq instruction set allow for the construction of a general-purpose, scalable computing system?
  • RQ5How does the hardware implementation of Subleq on FPGA compare to traditional multi-core CPU designs in terms of resource usage and computational throughput?

Key findings

  • The 28-processor Subleq system implemented on FPGA achieves computational performance comparable to that of a modern personal computer CPU.
  • The custom C-to-Subleq compiler successfully translates high-level code into efficient Subleq machine code, enabling general-purpose computation.
  • The hardware design demonstrates that complex, scalable multi-processor systems can be built using only the Subleq instruction set.
  • The system's performance is validated through benchmarking, showing that the Subleq-based architecture is viable for general-purpose computing tasks.
  • The implementation uses only basic FPGA resources, proving the feasibility of building powerful systems from minimal instruction sets.
  • The results confirm that a single-instruction architecture can be effectively scaled into a high-throughput, multi-core computing platform.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.