Git Product home page Git Product logo

logiavr's Introduction

LogiAVR

Full AVR Simulation in Logisim = EPIC!ly slow... :P

The implementation has only just begun. The aim will be to fully simulate an atmega328p (albeit very slowly). A Partial datasheet can be found here https://docs.google.com/spreadsheets/d/1cuoXnaaesodi1K7bZ9U8Z-U9k3p7lQIwE2ZVfDtyekk/edit?usp=sharing

#Status: (These are approximations)

-Registers 101% (Damn sure!)

-Program Counter ~80%

-Flash ~80%

-ALU ~50%

-Instruction Register ~80%

-Instruction Decoder ~1% :P

Day 1:

Completed a fair amount of the core functionality in the various components but i'm sure i'll come across more to add when i start implementing all the instructions. Today was quite challenging just getting things to fit together nicely but it payed off eventually. My first instruction supported is LDI (Load immediate) which works perfectly btw, and can load any 8 bit value into registers 16-31. My day is done. Goodnight (or morning :S).

Day 2:

Again, a lot of little pieces (or hacks :P) to make the various instructions work. I've completely changed the control circuits output method and i'm now using a ROM component to store the data. The Status Register has been removed from the ALU to become it's own seperate component to allow easier access and a clearer layout. The first jump instruction (rjmp) has been implemented aswell so yay! :D

logiavr's People

Stargazers

Doctor_Zhang avatar Lucas Martins Mendes avatar Gianluca Nitti avatar

Watchers

James Cloos avatar Oliver Steptoe avatar

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.