ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

18
ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM

Transcript of ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

Page 1: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

ECE 448 – FPGA and ASIC Design with VHDL

Lecture 15

External SRAM

Page 2: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

2ECE 448 – FPGA and ASIC Design with VHDL

Required reading

• P. Chu, FPGA Prototyping by VHDL Examples

Chapter 10, External SRAM

Page 3: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

3

Block diagram of a typical SRAM

ECE 448 – FPGA and ASIC Design with VHDL

Page 4: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

4

SRAM Functional Table

ECE 448 – FPGA and ASIC Design with VHDL

Page 5: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

5

SRAM Simplified Functional Table

ECE 448 – FPGA and ASIC Design with VHDL

Page 6: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

6

Timing diagram of an address-controlled read cycle

ECE 448 – FPGA and ASIC Design with VHDL

Page 7: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

7

Timing diagram of an output_enable-controlled read cycle

ECE 448 – FPGA and ASIC Design with VHDL

Page 8: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

8

SRAM Timing Parameters (in ns)

ECE 448 – FPGA and ASIC Design with VHDL

Page 9: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

9

Timing diagram of write cycle

ECE 448 – FPGA and ASIC Design with VHDL

Page 10: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

10

SRAM Timing Parameters (in ns)

ECE 448 – FPGA and ASIC Design with VHDL

Page 11: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

11

Role of a memory controller

ECE 448 – FPGA and ASIC Design with VHDL

Page 12: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

12

Block diagram of a memory controller

ECE 448 – FPGA and ASIC Design with VHDL

Page 13: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

13

ASM chart of a safe SRAM

controller

ECE 448 – FPGA and ASIC Design with VHDL

Page 14: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

14

ASM chart of a testing

circuit

ECE 448 – FPGA and ASIC Design with VHDL

Page 15: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

15

ASM chart of an alternative

SRAM controller: design I

ECE 448 – FPGA and ASIC Design with VHDL

Page 16: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

16

ASM chart of an alternative

SRAM controller: design II

ECE 448 – FPGA and ASIC Design with VHDL

Page 17: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

17ECE 448 – FPGA and ASIC Design with VHDL

ASM chart of an alternative

SRAM controller: design III

Page 18: ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.

18

Generating a half cycle with DDR

ECE 448 – FPGA and ASIC Design with VHDL