Git Product home page Git Product logo

leros's Introduction

Build Status

Leros, a Tiny Processor Core

An FPGA optimized tiny processor core for embedded systems. See more documentation on the github.io website for Leros.

This repository contains two versions of Leros: the initial 16-bit version in VHDL and the redesign of 16/32/64-bit version in Chisel. The two versions are in the same spirit, but not compatible. The initial version exposes the pipeline to the programmer. The initial version is supported by a small Java runtime (muvium).

The new version is pipeline agnostic and also has a slightly different ISA. The new version is supported by a C compiler (LLVM port.)

Questions

  • Is load immediate sign extending?
  • What is sign extending?
  • byte order:
    • Morten's simulator (and presumable compiler) is little-endian
    • Martin's ISA simulator is little-endian
    • Patmos is probably big-endian
    • Internet is big-endian
    • RISC-V is little-endian

Implementation Notes (Leros 16)

Pipeline discussion:

  • Maybe decoding and sign extension into fetch
  • Play around with the pipeline registers when (1) more complete ALU and (2) longer programs (= block RAM)
  • Several different pipeline organizations might be interesting

Fmax

We target a very high fmax in an FPGA to compensate for the more instructions execute.

Initial measurement on DE2-115 with almost no function and debug output (e.g., accu) in registers: 184 MHz. Could be better.

leros's People

Contributors

schoeberl avatar foxxy777 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.