GithubHelp home page GithubHelp logo

mjoergen / hyperram Goto Github PK

View Code? Open in Web Editor NEW
44.0 7.0 11.0 3.45 MB

Portable HyperRAM controller

License: MIT License

Verilog 22.49% VHDL 72.02% Tcl 5.19% Python 0.30%
hyperram xilinx vivado artix fpga vhdl avalon intel altera lattice

hyperram's Introduction

Hi there 👋

MJoergen | LinkedIn

hyperram's People

Contributors

mfj-silicom avatar mjoergen avatar ruskuls avatar sy2002 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyperram's Issues

Controller locks up on some boards.

This is observed when connecting a PicoLemon HyperRAM module to the PMODs of a QMTech Wukong board.

I suspect the problem is due to the increased latency through the board traces and PMODs.

VUnit support

Vunit simulator support.

Instead of a dedicated VHDL module that generates traffic use Vunit modules that handle Avalon (or any other CPU bus) based transactions + add randomization for address and data.

Because testbench contains one Verilog file, GHDL can't be used. For local tests Free Modelsim versions were used.

csn not latching in IOB

on my workstation with own toplevel I see warning that CSN is not registered in IOB (the other signals are).

I am using not this code from here, but the code from MEGA65 fork...

p_fsm : process (clk_i)
begin
if rising_edge(clk_i) then
hb_csn_o <= '0'; -- added by Antti
hb_rstn_o <= '1';

when I add the above line then CSN registers in IOB and design still works!
not sure if that is proper fix or not.

Memory corruption during burst write

Short description

This bug only happens when writing with burstcount > 1, i.e. when issuing writes of more than 2 bytes. Basically, the controller ignores the byteenable input on all but the first clock cycle. This bug was observed in the ILA while investigating issue #2.

To reproduce

Start a write with burstcount = 2 and write the following:

  1. cycle: data = X"BBAA" with byteenable = "11"
  2. cycle: data = X"DDCC" with byteenable = "01"

Expected behavior

The memory is updated with the three bytes X"AA", X"BB", and X"CC".

Observed behavior

Four bytes are written to memory, i.e. the fourth byte X"DD" gets written as well, thus corrupting one byte of memory.

32 bit wide DATA

Any plans to support 32 bit wide avalon data bus? It would make the use much easier!

ISSI die rev D errata

there is a errata (you need request the document from ISSI) for ISSI revision D dies, in short it says that all writes must be at least two clocks long, that is you need to write always 4 bytes (using RWDS to mask unused bytes).

Does this core support this errata? I a guessing the core does short writes and always would hit this ISSI errata?

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.