Coder Social home page Coder Social logo

10x-engineers / fwrisc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from featherweight-ip/fwrisc

0.0 0.0 0.0 3 MB

Featherweight RISC-V implementation

License: Apache License 2.0

Shell 1.27% Filebench WML 0.18% SystemVerilog 34.93% Python 5.87% Forth 10.76% Makefile 5.70% C++ 13.05% C 16.44% Assembly 8.29% Tcl 0.62% CMake 0.15% Stata 0.06% Verilog 0.44% Fortran 2.23%

fwrisc's Introduction

FWRISC

Build Status

FWRISC-S is a Featherweight RISC-V implementation of the RV32IMC instruction set with IoT-appropriate security features. This implementation supports the integer instructions, registers, CSRs, and exceptions as required by the RISC-V spec.

This revision of the core was created for the 2019 RISC-V security contest: https://riscv.org/2019/07/risc-v-softcpu-core-contest/

FWRISC is a non-pipelined processor that aims to balance performance with FPGA resource utilization. It achieves 0.15 DMIPS/Mhz.

FWRISC correctly runs all RISCV RV32I compliance tests. It also supports the Zephyr RTOS.

Core Features

  • RV32IMC instructions
  • Multi-cycle shift
  • Multi-cycle multiply/divide
  • Support for the compressed-instruction ISA
  • MINSTR, MCYCLE counters
  • ECALL/EBREAK/ERET instrutions
  • Support for address-alignment exceptions

SEcurity Features

FWRISC-S implements Data Execution Prevention, as a way to prevent arbitrary code execution. While more-complex protection techniques are appropriate for more-complex systems, IoT systems typically run a fixed program that can be easily protected in this way. The Zephyr SoC-support configuration has been setup such that data execution prevention is configured just after kernel boot. Using linker symbols, the configuration programs CSRs to only allow execution in the text section of the image. See Zephyr for more information.

Resource Stats

The bare FWRISC-S 1.0.0 core consumes the following resources:

TargetLUTs/LCsRAMFrequency
Microsemi IGLOO2 (Synplify)2592 LUTs2x 64x1836.6Mhz

Getting Started

See the Quickstart document to get started with FWRISC. For more detailed information, see the documents below.

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.