https://github.com/pcmarks/kpusim
Basic KPU Simulator written in Elixir
https://github.com/pcmarks/kpusim
Last synced: about 1 year ago
JSON representation
Basic KPU Simulator written in Elixir
- Host: GitHub
- URL: https://github.com/pcmarks/kpusim
- Owner: pcmarks
- Created: 2016-02-18T13:33:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-18T14:18:43.000Z (over 10 years ago)
- Last Synced: 2025-02-17T10:48:53.020Z (over 1 year ago)
- Language: Elixir
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kpusim
A very simple simulator of the KPU architecture. It operates by sending signals
and data to several processes under the control of clock.
Typical Usage:
Kpusim.init(250, 6, 2, 4, fn x -> x * x end)
Run the simulation with a step time of 250 milliseconds for 6 steps. Use an
initial value of 2 and a pipeline of 4 PEs. Have each PE compute the square
of the data token. No debugging text is displayed (the default).