Code Monkey home page Code Monkey logo

mymemc's Introduction

Dram Controller

A Dram Controller

Feature

This controller implements the read, write and refresh control of mem

  • Array timing is configurable
  • array refresh cycle is configurable
  • Support AXI bus 2 Array bus
  • Max 200Mhz

Arch

arch

  • Axi_Slave: axi bus to frame
  • Array_Ctrl: the read, write and refresh control of mem
  • MC_apb_cfg: configure internal registers

Signals

Global signal

signal name width direction description
clk 1 input system clk,400MHz
rst_n 1 input system reset

AXI4 bus

signal name width direction description
axi_awvalid 1 input axi aw channel valid
axi_awready 1 output axi aw channel ready
axi_awlen 6 input axi aw channel len
axi_awaddr 20 input axi aw channel address
axi_wvalid 1 input axi w channel valid
axi_wready 1 output axi w channel ready
axi_wlast 1 input axi w channel last
axi_wdata 64 input axi w channel data
axi_arvalid 1 input axi ar channel valid
axi_arready 1 output axi ar channel ready
axi_arlen 6 input axi ar channel len
axi_araddr 20 input axi ar channel address
axi_rvalid 1 output axi r channel valid
axi_rlast 1 output axi r channel last
axi_rdata 64 output axi r channel data

APB bus

signal name width direction description
apb_pclk 1 input apb clock
apb_prst_n 1 input apb reset
apb_psel 1 input apb select
apb_pwrite 1 input apb read/write indication
apb_paddr 16 input apb addr
apb_penable 1 input apb enable
apb_pwdata 32 input apb write data
apb_pready 1 output apb ready
apb_prdata 32 output apb read data

Array interface

signal name width direction description
array_banksel_n 1 output array bank select
array_raddr 14 output array row address
array_cas_wr 1 output array column address strobe for write
array_caddr_wr 6 output array column address for write
array_cas_rd 1 output array column address strobe for read
array_caddr_rd 6 output array column address for read
array_wdata_rdy 1 output array write data indication
array_wdata 64 output array write data
array_rdata_rdy 1 input array read data indication
array_rdata 64 input array read data

Timing

Write:

Read:

Refresh:

mymemc's People

Contributors

jwangtobeno1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.