Skip to content

TadeasFrycak/cpu-led-debugger

Repository files navigation

CPU LED debugger

Demo

Annotate CPU LEDs

  1. Run annotate tool python3 annotate.py
  2. Set name of block and count of LEDs in block
  3. Hover with mouse pointer on LED position, colour will be automatically recognized
    • Force LED color can be applied by pressing r, g, y on keyboard
  4. Click with left mouse button on LED positions
  5. Positions are normalized to [0, 1] interval
  6. All normalized positions are saved in JSON file

Run

python3 main.py

Tested on:

  • Ubuntu 22.04 - Python 3.10
  • M1 Mac Air - Python 3.8
  • M1 Mac Pro - Python 3.8

TODO:

  • Edit output.json, so instruction LED names are as sub key, not as a main key
  • Create web template
  • Link web with Python code
  • Fix small design errors
  • Code OOP - CPU thread

Contributors:

About

Computer Vision software for custom CISC CPU visual debugging

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •