Yet Another SIMulator for AVR
Project description
# yasimavr Yet another simulator for Microchip AVR microcontrollers, inspired from simavr
_yasimavr_ is a simulator for AVR 8-bits microcontrollers. It is mainly aimed at the Mega0 and Mega1 series (ATmega80x-160x-320x-480x and others) with a possibility to work with the “classic” series. (ATMega48/88/168/328 and others)
It is composed of 2 layers: - a C++ layer for the core API and the various peripheral simulation models - a Python layer to handle the configuration, utilities, data recording, and external components
Compilation
libelf is required to compile the shared libraries.
The python bindings for the C++ librairies are built with the SIP tool from RiverbankComputing (https://www.riverbankcomputing.com)
Thanks
Quite a few ideas in this software - and even big chunks of code - originate from simavr. (https://github.com/buserror/simavr) Big thanks to the simavr authors for this great tool !
Supported IOs
GPIO
SPI
TWI
USART
Supported Cores (very easy to add new ones!)
ATMega328
ATMega 0-series (ATmega808/809/1608/1609/3208/3209/4808/4809)
more to come…
How to use
_yasimavr_ can be used as a Python package to run a prepared simulation script. (See the examples for how it looks like)
It also supports direct command line run python -m yasimavr [options] [firmware]
For the list of command line options, execute python -m yasimavr -h
Some simple script examples are available here: https://github.com/clesav/yasimavr/tree/main/examples
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file yasimavr-0.0.2.tar.gz
.
File metadata
- Download URL: yasimavr-0.0.2.tar.gz
- Upload date:
- Size: 239.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df4492aaf51fe61ae9a1bcb0d72f73b271add5229f906abdac1cd7611bb97c25 |
|
MD5 | e5847c52b5994e602f6d92d1d14ae949 |
|
BLAKE2b-256 | 41c6829066620e23178ddf252bf05e692b98d3bcbbdfdfcfeb93b644ba426ae1 |