https://github.com/lowrisc/ot-dsim
Bignum ISA Simulator
https://github.com/lowrisc/ot-dsim
Last synced: 12 months ago
JSON representation
Bignum ISA Simulator
- Host: GitHub
- URL: https://github.com/lowrisc/ot-dsim
- Owner: lowRISC
- License: apache-2.0
- Created: 2020-04-28T12:35:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-01T15:01:43.000Z (almost 6 years ago)
- Last Synced: 2025-01-20T06:42:54.967Z (about 1 year ago)
- Language: Python
- Size: 47.9 KB
- Stars: 0
- Watchers: 63
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bignum ISA Simulator
This is a simulator for a bignum accelerator.
## Usage
```bash
# Install dependencies
pip3 install --user -U -r requirements.txt
# Run the simulator
python3 sim.py
# Run the RSA tests
python3 sim_rsa_tests.py
# Run the P256 tests
python3 sim_ecc_tests.py
# Run assembler
python3 asm.py
# Run disassembler
python3 dasm.py
```
## Status
RSA encode and decode up to 2048 bit and P256 encode and decode can be
executed fully. The calculation results are cross-checked to ensure
correctness.
## Author and License
Primary author: Felix Miller
Apache2-licensed, see `LICENSE` for details.
Portions of the code in the `hex` directory are BSD-licensed, see the file
`hex/LICENSE` for details.