5.1.4 · D1 · HinglishInstruction Set Architecture (ISA)

FoundationsRegister file organization

2,187 words10 min read↑ Read in English

5.1.4 · D1 · Hardware › Instruction Set Architecture (ISA) › Register file organization

Is page mein kuch bhi assumed nahi hai. Agar parent note mein koi symbol ya word use hua hai, hum use yahan build karte hain, ek picture se, use kabhi bhi zaroorat padne se pehle. Upar se neeche padho; har item apne upar wale item par lean karta hai.


0. Sabse raw picture: ek box jo ek bit yaad rakhta hai

Kisi bhi symbol se pehle, yeh image apne zehan mein rakho: ek single cell jo ya toh OFF (0) ya ON (1) ho sakti hai aur woh value retain karti hai chahe koi dekh raha ho ya nahi.

Figure — Register file organization

1. Bahut saare words count karna: aur exponent

Ab bahut saari word-strips ko vertically stack karo. Woh stack hi register file hai.

Figure — Register file organization

Ab woh subtle symbol jo sabko trip karta hai: .


2. Do verbs: READ aur WRITE, aur unke ports

Ek register file sirf do cheezein karta hai. Unhe precisely name karna hi port symbols ke hone ki poori wajah hai.

Figure — Register file organization

3. Do building blocks: MUX aur decoder

Yeh woh machines hain jo -bit address ko actual chosen row mein convert karti hain. Parent unhe naam se use karta hai — yahan har ek kya hai, ek picture ke roop mein.


4. Woh exponent jo square karta hai: kyun

Parent ka sabse scary symbol hai. Ab aapke paas use padhne ke liye har piece hai.


5. Ek aur symbol: hardwired R0


Prerequisite map

Bit 0 or 1

Word width n

Stack of N registers

Power of two 2 to the k

log base 2 undoes it gives k

k bit address

MUX pick one for READ

Decoder route one for WRITE

Read ports R

Write ports W

Area scales as R plus W squared

Register File

Register file organization 5.1.4

MUX aur decoder ke gate-level details ke liye Multiplexers and Decoders dekho, aur read ports actually kahan jaate hain yeh jaanne ke liye Datapath and ALU dekho.


Equipment checklist

Daayaan side cover karo aur parent note par jaane se pehle zor se jawaab do.

Ek bit kya hai, ek picture mein?
Ek box jo ya toh lit (1) ya empty (0) rehta hai.
Width kya measure karta hai?
Kitne bits ek word/register mein glued hain.
kya count karta hai, aur ise usually kaise likha jaata hai?
Registers ki sankhya; likha jaata hai.
Count power of two, , kyun hoti hai?
Kyunki on/off address wires exactly rows naam de sakte hain.
Kaun sa tool "kitni rows" ko "kitne address bits" mein badalta hai?
Base-2 logarithm, .
Ceiling kya karta hai aur kyun?
Round up karta hai; wire ka fraction nahi ho sakta.
Read aur write mein kya farak hai?
Read ek row ko unchanged copy karta hai bahar; write ek row ka content replace karta hai.
aur kya count karte hain?
Simultaneous read lanes aur simultaneous write lanes (ports).
Kaun si machine read karta hai aur kyun?
Ek -to-1 MUX, kyunki reading hai "bahut mein se ek choose karo bus par."
Kaun si machine write karta hai aur kyun?
Ek -to- decoder (plus WriteEnable), kyunki writing hai "data ko ek chosen row mein route karo."
mein square kahan se aata hai?
Har cell port count ke saath height aur width dono mein grow karta hai; area = height × width.
RISC-V/MIPS mein R0 ke baare mein kya khaas hai?
Yeh hardwired hai ki 0 read kare aur writes ignore kare — ek free constant.

Connections