Skip to content

COLVERTYETY/tt08-decisiontree-asic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drawing

tt08-decisiontree-asic

This project explores the generation of custom ml hardware from ml software.

Project Overview

The goal is to create a custom ASIC that classifies 5x5 images of digits.

This is achieved by:

  1. Training a sklearn model on the dataset.
  2. Parsing the decision tree structure.
  3. Generating HDL from amaranth.

This project is made viable by the tinytapeout open ASIC initiative.

Model Overview

The dataset is composed of binary 5x5 images as shown in the following picture:

digit

The model has flattened view of the image and has the following structure:

model

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 82.8%
  • Verilog 10.7%
  • Python 3.5%
  • SystemVerilog 2.6%
  • Makefile 0.4%