Skip to content

A repository for the NUS' CS5222 FPGA lab (based on UW's CSE548)

License

Notifications You must be signed in to change notification settings

Arka2009/cs5222-lab-fpga

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sources

tcl/ - Build Scripts bitstreams/ final_classifier_fixed_baseline.bit - Part II fixed point Implementation final_classifier_fixed_optI.bit - Part III fixed point Implementation with scaled down images and Linear Ridge Classifier with (alpha - 140.0) final_classifier_fixed_optII.bit - Part III fixed point Implementation with scaled down images and Linear Ridge Classifier with (alpha - 140.0) + Input matrix, Output Matrix and Weight matrix pipelined streaming accesses.

jupyter/ classifier_2.ipynb - PYNQ board script

hls/mmult_opt - Source HLS for final_classifier_fixed_optII.bit

hls/mmult_fixed - Source final_classifier_fixed_baseline.bit. final_classifier_fixed_optI.bit can be obtained by replacing FEAT to 144 in mmult.h and array partition block factor tp 72.

python/mnist.py - Classifier. Same of original code. Add the alpha value of 140 as the Linear ridge classifier parameter and run with --dim 12 to obtain the weights and offsets of *_optI and *_optII implementations

About

A repository for the NUS' CS5222 FPGA lab (based on UW's CSE548)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Tcl 52.6%
  • C++ 25.0%
  • Jupyter Notebook 14.9%
  • Python 4.4%
  • C 2.7%
  • Makefile 0.4%