Coder Social home page Coder Social logo

futurecore / pydgin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cornell-brg/pydgin

1.0 1.0 0.0 946 KB

A (Py)thon (D)SL for (G)enerating (In)struction set simulators.

License: BSD 3-Clause "New" or "Revised" License

Python 35.23% Assembly 26.53% C++ 1.45% Shell 2.34% Makefile 3.00% C 30.68% M4 0.78%

pydgin's People

Contributors

berkinilbeyi avatar cfbolz avatar dmlockhart avatar eev25 avatar hawajkm avatar jyk46 avatar moyang avatar snim2 avatar wkopen avatar yunsup avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

pydgin's Issues

Correct IDLE16 instruction

IDLE should behave like this:

    STATUS[0]=0
    while(!ILAT){
        PC=PC;
    }

i.e. it should wait for an interrupt.

Assembler files

Files in epiphany/test/asm/ need:

  • Test harness that checks whether they exit with the machine in the correct state
  • Code that was copied from the reference manual but cannot compile needs to be dealt with
  • Some assembler files need a bit more code to constitute meaningful tests

Implement syscalls

There is no swi opcode in the Epiphany ISA, but the trap16 instruction can be used to invoke syscalls.

Add support for hardware performance counters

The Epiphany can count events, such as the number of integer or FP instructions executed. This needs to be added to many instructions. Needs support for interrupts. Will affect COUNTER0 and COUNTER1 registers.

Implement multicore and multicore instructions

This will significantly affect the memory model, although the code should be quite simple. All instructions marked LABS in the reference manual require multicore support. The maximum number of cores in an Epiphany chip is 4095.

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.