Giter Site home page Giter Site logo

clesav / yasimavr Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 1.04 MB

Yet another simulator for Microchip AVR microcontrollers, inspired from simavr

License: GNU General Public License v3.0

C++ 62.78% C 15.71% Makefile 0.79% Python 20.72%
atmel-avr avr microchip

yasimavr's Issues

Custom config loading

Improvement of the device library modularity and ability to load from an arbitrary config file outside of the library.

Class renaming and namespacing

Getting rid of the AVR_* prefix and instead using an optional namespace (by #define macro)
For bindings, no change, the generated python modules already act as namespaces.
Also some improved consistency of class naming.

Changes to signal API

The current signal API needs rework :

  • copy/move semantics to ensure links between signal and hooks remain consistents
  • The data() function is not developed (and currently unused). Split between two signal classes: a base stateless AVR_Signal and a AVR_DataSignal that stores the data travelling in signal notifications. That will be usefull for analog features and async triggers modelling.
  • invert data and index arguments in raise() : 'data' is much more useful and 'index' is meant to be optional anyway.

Addition of analog features

Analog features to add:

  • Addition of Analog Comparator peripheral.
  • Possibility to have several ADC/AC peripherals.
  • Redesign of VREF required to have several references for the peripherals
  • Adding some of the unsupported features in M0 ADC: freerun and ASDV.

core API changes

Clean up of the core API overdue:

  • simplification of CycleManager
  • addition of regbit_compound_t (to represent a single field split across several registers)
  • improvement of register reading/writing for speedup
  • simplification of interrupt handling
  • various argument const & reference missing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.