A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Memory Address Decoding

College Depth 93 in the knowledge graph I know this Set as goal
47topics build on this
353prerequisites beneath it
See this on the map →
Memory Organization and AddressingMultiplexers and DemultiplexersMemory Access Timing and PerformanceMemory Bus Architecture and Interconnect
address-decoding memory-circuits

Core Idea

Address decoding selects the correct memory location from an n-bit address using decoders. 2D decoding (row/column) reduces complexity; partial and hierarchical decoding further optimize large memories.

Explainer

You already know how decoders work: an n-input decoder activates exactly one of 2n output lines based on the binary input. You also know that memory is organized as an array of storage locations, each holding a fixed number of bits. Address decoding is the bridge between these two concepts — it is the mechanism that translates a binary address from the CPU into the activation of one specific memory cell (or row of cells) within a memory chip.

Consider a simple example: a memory chip with 1,024 locations needs a 10-bit address. A straightforward approach would use a single 10-to-1024 decoder, but that decoder would have 1,024 output lines — an impractical number of wires and gates. Two-dimensional (2D) decoding solves this by splitting the address into two halves. The upper 5 bits select one of 32 rows, and the lower 5 bits select one of 32 columns. Now you need only a 5-to-32 row decoder and a 5-to-32 column decoder — 64 output lines total instead of 1,024. The selected memory cell sits at the intersection of the activated row and column, just like finding a seat in a theater by row letter and seat number.

Real systems take this further with hierarchical decoding. A computer with 4 GB of RAM doesn't have a single monolithic chip — it has many smaller memory chips organized into banks and modules. The highest-order address bits select which chip or bank is active (using a chip-select signal driven by a decoder), while the remaining bits perform the row/column decoding within that chip. Partial decoding is a simpler but less precise technique where not all address bits are decoded — some bits are ignored, causing the same physical memory to appear at multiple addresses (called aliasing). This was common in early microcomputers where simplicity mattered more than full address space utilization, but modern systems use full decoding to avoid wasting address space.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesBoolean AlgebraBoolean Type and Truth ValuesComparison Operators and Boolean TestsLogical Operators and Boolean AlgebraBoolean Algebra and Fundamental LawsLogic Gates FundamentalsImplementing Boolean Functions with GatesKarnaugh Map SimplificationCombinational Circuit DesignFlip-Flops and LatchesBinary Counters: Design and AnalysisBinary ArithmeticFixed-Point Number RepresentationTwo's Complement RepresentationOverflow and Underflow DetectionBinary Adders: Half-Adders and Full-AddersFull Adder and Carry PropagationCarry Lookahead Adder DesignHalf Adder Circuit DesignMultiplication Circuit DesignSequential Circuit DesignRegisters and Register FilesInstruction Set Architecture (ISA)Assembly Language BasicsMemory Organization and AddressingMemory Address Decoding

Longest path: 94 steps · 353 total prerequisite topics

Prerequisites (2)

Leads To (2)