Coder Social home page Coder Social logo

marwaneltoukhy / ms_qspi_xip_cache Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shalan/ms_qspi_xip_cache

0.0 0.0 0.0 531 KB

AHB-Lite Quad I/O SPI Flash memory controller with direct mapped cache and support for XiP

License: Apache License 2.0

Verilog 100.00%

ms_qspi_xip_cache's Introduction

MS_QSPI_XIP_CACHE

AHB-Lite Quad I/O SPI Flash memory controller with support for:

  • XiP
  • Nx16 Direct-Mapped Cache Intended to be used with SoCs that have no on-chip flash memory.

Todo:

  • Add support for WB bus
  • Support cache configurations other than 16 bytes per line

Performance

The following table shows a typical SoC performance (execution time in msec) using different cache line sizes

NUM_LINES LINE_SIZE stress hash chacha xtea(256) aes_sbox G. Mean
128 16 0.208 (4.9x) 0.707 (8.8x) 0.277 (7.4x) 0.212 (11.9x) 0.339 (6.4x) 7.53
64 16 0.208 (4.9x) 0.779 (8.0x) 0.277 (7.4x) 0.212 (11.9x) 0.339 (6.4x) 7.39
32 16 0.233 (4.4x) 0.869 (7.2x) 0.334 (6.2x) 0.212 (11.9x) 0.339 (6.4x) 6.83
16 16 0.410 (2.5x) 1.259 (5.0x) 0.436 (4.7x) 0.212 (11.9x) 0.339 (6.4x) 5.37
8 16 0.692 (1.5x) 2.217 (2.8x) 0.951 (2.2x) 0.218 (11.6x) 0.341 (6.4x) 3.69
4 16 0.899 (1.1x) 4.983 (1.3x) 1.723 (1.2x) - - -
2 16 1.020 (1.0x) 6.243 (1.0x) 2.076 (1.0x) 2.527 ( 1.0x) 2.191 (1.0x) 1.00

ms_qspi_xip_cache's People

Contributors

shalan 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.