All Projects → Kannagi → AltairX

Kannagi / AltairX

Licence: MIT license
New computer and new CPU PoC

Programming Languages

c
50402 projects - #5 most used programming language
assembly
5116 projects
Verilog
626 projects
python
139335 projects - #7 most used programming language
CMake
9771 projects
Makefile
30231 projects

Projects that are alternatives of or similar to AltairX

SherwoodArch
The Sherwood Architecture is a custom 64-Bit RISC based CPU architecture.
Stars: ✭ 13 (-65.79%)
Mutual labels:  cpu, computer-architecture
z80
Single header Z80 emulator for C++ (C++11 or later)
Stars: ✭ 17 (-55.26%)
Mutual labels:  cpu
cpu monitor
ROS node that publishes all nodes' CPU and memory usage
Stars: ✭ 52 (+36.84%)
Mutual labels:  cpu
SilentCryptoMiner
A Silent (Hidden) Free Crypto Miner Builder - Supports ETH, ETC, XMR and many more.
Stars: ✭ 547 (+1339.47%)
Mutual labels:  cpu
indicium
Portable, advanced system information utility
Stars: ✭ 46 (+21.05%)
Mutual labels:  cpu
TinyMIPS
The Project TinyMIPS is dedicated to enabling undergraduates to build a complete computer system from scratch.
Stars: ✭ 29 (-23.68%)
Mutual labels:  cpu
computer-organization-lab
中山大学计算机组成原理实验 (2018 秋):用 Verilog 设计并实现的简易单周期和多周期 CPU
Stars: ✭ 45 (+18.42%)
Mutual labels:  cpu
yatcpu
Yet another toy CPU.
Stars: ✭ 42 (+10.53%)
Mutual labels:  cpu
ARM9-compatible-soft-CPU-core
This ARMv4-compatible CPU core is written in synthesiable verilog.It could launch uCLinux and Linux in MODELSIM. It has high Dhrystone benchmark value: 1.2 DMIPS/MHz. It could be utilized in your FPGA design as one submodule, if you master the interface of this .v file. This IP core is very compact. It is one .v file and has only less 1800 lines.
Stars: ✭ 42 (+10.53%)
Mutual labels:  cpu
nand2tetris
💡 Nand2tetris course
Stars: ✭ 31 (-18.42%)
Mutual labels:  computer-architecture
coretemp
Outputs current CPU core and package temperatures on macOS.
Stars: ✭ 36 (-5.26%)
Mutual labels:  cpu
CoinHive
A nice friendly simple and easly customizable GUI for coinhives javascript miner to embed onto websites so users of your site can interact with features of the miner on every single page this javascript miner is to help those who have problems with advertisements/advertising/ads popups banners mobile redirects malvertising/malware etc and provid…
Stars: ✭ 58 (+52.63%)
Mutual labels:  cpu
SBTCVM-Gen2-9
SBTCVM is a virtual machine implementation of a balanced ternary (base 3) computer. Features several compiled languages for ternary software development.
Stars: ✭ 32 (-15.79%)
Mutual labels:  computer-architecture
MM.Hash
Profit Switching Miner For HiveOS/Linux- OLD VERSION: Project Moved To SWARM! https://github.com/MaynardMiner/SWARM
Stars: ✭ 17 (-55.26%)
Mutual labels:  cpu
AtomicWatch
Intel Atom C2000 series discovery tool that parses log files and returns results if a positive match is found. #nsacyber
Stars: ✭ 25 (-34.21%)
Mutual labels:  cpu
gardenia
GARDENIA: Graph Analytics Repository for Designing Efficient Next-generation Accelerators
Stars: ✭ 22 (-42.11%)
Mutual labels:  computer-architecture
RoIAlign-RoIPool-pytorch
C++ extension implementation of RoIAlign & RolPool (both GPU and CPU) for PyTorch
Stars: ✭ 69 (+81.58%)
Mutual labels:  cpu
cpu emulator
LMC emulator written in Rust
Stars: ✭ 32 (-15.79%)
Mutual labels:  cpu
cpu-memory-monitor
CPU & Memory Monitor, auto dump.
Stars: ✭ 26 (-31.58%)
Mutual labels:  cpu
8080
A complete emulation of the Intel 8080 processor written in C99.
Stars: ✭ 109 (+186.84%)
Mutual labels:  cpu

AltairX

New computer and new CPU PoC

The main processor of the AltairX K1 is a VLIW In Order CPU.
It has 4 internal memory:

64 KiB L1 instruction Cache 4-way.
32 KiB L1 data Cache RW 4-way.
32 KiB L1 data Cache R 4-way.
16 KiB L1 data Scratchpad memory.

1 MiB L2 Scratchpad memory.

Algorithms cache used is MRU based Pseudo LRU (PLRUm).
If used 2-way Algorithms cache used is FIFO.

The processor has no branch prediction, it will be based on the delay slot (1 cycle for Fetch) and 1 decode cycle + Jump (Delay)

The number of instructions is done via a "Pairing" bit, when it is equal to 1, there is another instruction to be executed in parallel, 0 indicates the end of the bundle.

arch

The goal of this processor is to reach the minimum of latency, and to solve the problem of latency of the RAM.
For this, the compiler will have to do two things:

  • resolve pipeline conflicts
  • prefetch instruction and data
  • use SPM

To resolve pipeline conflicts, it has an accumulator internal to the ALU and to the VFPU which is register 61.
To avoid multiple writes to registers due to unsynchronized pipeline, there are two special registers P and Q (Product and Quotient) which are registers 62 and 63, to handle mul / div / sqrt etc etc.
There is also a specific register for loops (register 60).

The processor has 64 general registers of 64 bits, and 64 registers of 128 bits for the VFPU.
The processor only has SIMD instructions for the FPU.

It has 151 instructions distributed like this:
ALU : 36
LSU : 28
CMP : 8
Other : 2
BRU : 20
VFPU : 32
EFU : 12
FPU-D : 8
DMA : 5

For floating point numbers in AltairX , it will not be 100% compatible with the standard with IEEE 754
-Non-normalized numbers are not handled (they are equal to zero).
-Infinite numbers cannot be handled (they are worth the max value).
-NaN values are not manage (they are worth the max value).
-Rounding is always towards 0
-Exceptions are not handled

For the calculation unit it has:
2ALU+2LSU 1VFPU 1EFU 1FPU-D 1DIV/MUL BRU

The advantage of this processor is that it has a simple design, and requires little transistor for "high performance" and therefore consume / cost less than CISC/RISC Out Of Order processors.

Todo list

  • Translate the IR code (Clang) for AltairX
  • Terminate virtual machine (cycle emulation and device management)

Target configuration

8 cores : AltairX K1 2.5 GHz
DD3 1600 MHz , 8GB in a unified memory
GPU Aldebaran G1 1 GHz , 2 CU , 256 GFlops

Link

AltairX K1 ISA : https://docs.google.com/spreadsheets/d/1AmdMslRcXIX9pKGBSRJJcx2IvRyzBLjA61SzxmlEYf8/edit?usp=sharing

AltairX K1 Pipeline : https://docs.google.com/spreadsheets/d/1u-XBjAyq8LOzAFcWMXsdAChMMzbmTIuZtzWQ7XDTRdk/edit?usp=sharing

AltairX K1 Memory Map : https://docs.google.com/spreadsheets/d/1UQ15KpRRWncc_Ouzhas0W1uWuSIfjAODw8KD-2-AoDA/edit?usp=sharing

AltairX IR ISA : https://docs.google.com/spreadsheets/d/19nOBbH_4KWaXxDSNA4JuZjaBble0VRrBxcVlEjTZ3iI/edit?usp=sharing

AltairX Executable Header : https://docs.google.com/spreadsheets/d/1g7mEhaBIVBJ75-5gJ_TrYiVJVTZHEJQnqN0XXUBX57g/edit?usp=sharing

Aldebaran G1 ISA : https://docs.google.com/spreadsheets/d/1LiSZbdd6wCpa-sZZ9uLg5eAyGxdpMl363waUP927xS4/edit?usp=sharing

GPU todo list : https://docs.google.com/spreadsheets/d/1eRX1vLHEJdrAsx2u1OiycSSz82G3cboVMcu8gBYkgGA/edit?usp=sharing

Compiler todo list and calling convention : https://docs.google.com/document/d/1E5NZOjEt6VJfSfHW3z5Fhfy_PPxvRx1Uxr-N-eZfBqc/edit?usp=sharing

AltairX Pipeline

Pipeline

Pipeline

Pipeline

Architecture

Architecture

APU Die (380 MT) 30 mm² , 28 nm FD-SOI

APU

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].