OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [fpga/] [experiments/] [memctrl/] [sim/] [memctrl-2/] [README] - Blame information for rev 314

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 314 hellwig
Structure
2
---------
3
 
4
A top-level module (memtest.v) creates instances of a memory
5
test circuit (ramtest/ramtest.v) and a memory controller
6
(ramctrl/ramctrl.v), which in turn builds an internal model
7
of the external SDRAM (ramctrl/k4s561632e.v).
8
 
9
 
10
Intended Use
11
------------
12
 
13
The memory controller offers a complete simulation of the memory
14
subsystem, including a simulation model of a 256 Mbit SDRAM chip
15
(provided by Samsung Electronics). The controller can also be
16
synthesized for use on a real FPGA (but the DLL for clock phase
17
shifting required in this case is not included here).
18
 
19
 
20
Front-End (interface to caches)
21
-------------------------------
22
 
23
instruction read:
24
2^26 * 64 bit = 512 MB
25
strobe/acknowledge/timeout handshake
26
 
27
data read/write:
28
2^26 * 64 bit = 512 MB
29
strobe/acknowledge/timeout handshake
30
 
31
 
32
Back-End (interface to SDRAM)
33
-----------------------------
34
 
35
This is the standard SDRAM interface for 256 Mbit devices,
36
organized as 16 M x 16 bit (in 4 banks, 8192 rows each).
37
4 banks * 8192 rows * 512 columns * 16 bit = 256 Mbit = 32 MB
38
 
39
 
40
Clocks
41
------
42
 
43
The SDRAM controller (and the SDRAM itself) is clocked with
44
100 MHz, the rest of the circuit is clocked with 50 MHz. The
45
clocks are synchronized, so that every other positive clock
46
edge at 100 MHz coincides with a positive clock edge at 50 MHz.
47
Therefore we don't need complicated circuits (FIFO, etc.) to
48
safely cross the clock domain border; simply stretching both
49
acknowledge signals to two 100 MHz clock cycles will do.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.