Chip Design Academy
Module 14
Specialties
Intermediate
60 minutes

Memory Subsystems and IP Integration

Select, configure and integrate SRAM, caches, ROM, nonvolatile memory and third-party IP with correct interfaces, test and physical views.

WHY IT MATTERS

Overview

Memory dominates area, power and performance in many chips. Architecture choices include banking, ports, word width, depth, ECC, replacement, coherence and traffic scheduling.

Hard and soft IP integration requires a complete view set: logical models, timing and power libraries, physical abstracts, layout, verification models, constraints, test protocols, software collateral and licensing provenance.

Learning objectives

Size memory hierarchy from workload

Choose banking, ports and ECC

Integrate hard macros and abstract views

Verify test, reset, power and coherency behavior

TECHNICAL FOUNDATION

Core concepts

Banking

Partitioning storage for parallel access, power control or physical distribution.

ECC

Redundant coding used to detect and correct stored-data errors.

Macro abstract

LEF or equivalent physical view containing boundary, pins and obstructions.

Liberty model

Characterized timing, power and functional behavior used by implementation tools.

Coherence

Rules that maintain compatible memory values across caches and agents.

BIST

On-chip controller and algorithms used to test memory arrays.

INPUTS → DECISIONS → EVIDENCE

Engineering workflow

1
Model traffic

Quantify capacity, bandwidth, locality, concurrency and QoS.

INPUTS

Workloads

OUTPUTS

Memory requirements

2
Choose organization

Select hierarchy, banks, ports, ECC and policies.

INPUTS

Requirements

OUTPUTS

Memory architecture

3
Integrate views

Verify logical, timing, power, physical and test collateral.

INPUTS

IP release

OUTPUTS

Qualified IP package

4
Verify system behavior

Test ordering, errors, reset, test and low-power operation.

INPUTS

Integrated design

OUTPUTS

Coverage

Performance evidence

MEASURE WHAT MATTERS

Metrics and interpretation

Hit rate

Fraction of accesses satisfied at a hierarchy level.

Effective bandwidth

Useful payload rate after protocol and contention overhead.

Access energy

Energy per read/write for a stated configuration and corner.

Correctable error rate

Observed or projected errors handled by the selected ECC.

REVIEW READINESS

Signoff checklist and pitfalls

Evidence checklist
  • All required IP views share a release/version
  • Memory traffic meets latency and bandwidth goals
  • ECC and error reporting are verified
  • MBIST and repair interfaces are integrated
  • Macro placement, pin access and power intent are feasible
Common pitfalls
  • Sizing capacity without bandwidth analysis
  • Mixing collateral from different macro releases
  • Ignoring simultaneous-access conflicts
  • Late discovery of macro test and repair pins
LEARN BY DOING

Practice and platform tools

PRACTICAL EXERCISE
Compare two SRAM organizations for capacity, ports, area, latency, bandwidth, access energy, ECC overhead and floorplanning impact.
SRAM Planner

Compare memory organizations.

Open tool
CACTI-lite

Estimate cache/memory tradeoffs.

Open tool
ECC/SECDED

Plan error correction.

Open tool
MBIST

Design memory test.

Open tool
Library Registry

Govern reusable design collateral.

Open tool
AUTHORITATIVE FOLLOW-UP

References


Continue learning
Architecture

Product Requirements and System Architecture

Open module
Physical Design

Floorplanning, IO and Power Intent

Open module
Manufacturing

Fabrication, Yield and Manufacturing Test

Open module