Concepts of Address Bus, Control Bus, Power Bus and Data Bus

Buses એ CPU, memory અને devices વચ્ચેના wire highways છે: address bus કહે છે ક્યાં, data bus લઈ જાય છે શું, control bus કહે છે ક્યારે અને કેવી રીતે, અને power bus વીજળી પહોંચાડે છે.

9 min read · 9 cards · 2 checks

Read in: English · हिन्दी · ગુજરાતી


Theory

પાતળી copper ની સડકો

shop પર પાછા આવીને Chirag એક motherboard ને light સામે ધરે છે. CPU socket અને RAM slots વચ્ચે વાળ જેવી પાતળી સેંકડો copper lines ફેલાયેલી છે.

એ કહે છે, "RAM અહીં છે, processor ત્યાં છે, 2 centimetre છેટે. તમને એક સવાલ: CPU ને RAM માં stored કોઈ એક number જોઈએ છે, ત્યારે એ request physically કઈ રીતે મુસાફરી કરે છે?"

એ જ copper lines પરથી. એને buses કહે છે, અને એના 4 પ્રકાર છે, દરેકનું એક જ કામ.

Theory

એક courier delivery

દરેક courier delivery ને 4 વસ્તુ જોઈએ: address slip (ક્યાં જવાનું છે), પોતે parcel (શું મોકલવાનું છે), instructions (bell વગાડો, signature લો, receipt પાછી આપો), અને van માટે fuel. હવે એની જગ્યાએ મૂકો: address bus, data bus, control bus, power bus. એક જ delivery, 4 અલગ અલગ role, અને એ ક્યારેય ભેગા ના થવા જોઈએ.

At a glance

ચારેય buses એક નજરમાં

Busશું લઈ જાયDirection
Address busread/write કરવાની locationOne-way: CPU → memory
Data busખરેખરો dataTwo-way: CPU ↔ memory
Control busCommands અને timing (read, write)બંને દિશામાં signals
Power buscomponents ને વીજળીpower supply થી બહાર તરફ

Theory

Width કેમ મહત્વનું છે

એક bus એ parallel lines નું bundle છે, અને lines ની સંખ્યા એટલે એની width.

  • 32 lines પહોળો data bus એક જ વારમાં 32 bits move કરે; 64 lines એક trip માં double move કરે.
  • n lines પહોળો address bus 2ⁿ અલગ અલગ locations ને point કરી શકે. 32 lines સાથે: 2³² addresses, એટલે લગભગ 4 GB જેટલું.

આ છેલ્લી વાત જ કારણ છે કે જૂના 32-bit computers 4 GB થી વધારે RAM વાપરી શકતા નહોતા, અને આ shop પર customer ના ખરેખરા સવાલનો ખરેખરો જવાબ છે.

Quiz

કયો bus unidirectional (one-way) છે?

  1. Address bus
  2. Data bus
  3. Control bus
  4. બધા buses two-way છે
Show the answer

Address bus

ફક્ત CPU જ addresses announce કરે છે; memory ક્યારેય address પાછો મોકલતી નથી, એટલે address bus એક જ દિશામાં ચાલે, CPU → memory. Data bus તો two-way હોવો જ પડે (reading માં data અંદર આવે, writing માં બહાર જાય). આ one-way/two-way ની જોડી exam માં સૌથી વધારે પુછાતો bus નો સવાલ છે.

Think first

જરા વિચારો

Data bus two-way કેમ હોવો જ પડે? CPU memory પર જે 2 operations કરે છે એ મનમાં ચિતરો.

Show the answer

Read અને write. Reading માં data memory માંથી CPU માં આવે; writing માં results CPU માંથી memory માં જાય. એ જ wires, બંને દિશા. અને આ 2 માંથી કયું ચાલી રહ્યું છે એ control bus પોતાના read/write signal થી announce કરે છે, જેથી memory ને ખબર પડે કે એણે બોલવાનું છે કે સાંભળવાનું.

Watch out

અહીં marks કપાય છે

Directions અદલાબદલી કરી નાખવી: "address bus is bidirectional" લખવું એ classic ભૂલ છે. આમ યાદ રાખો: addresses ફક્ત CPU જ announce કરે છે, એટલે one-way; data બંને દિશામાં વહે છે, એટલે two-way. બીજી ભૂલ: width ને "speed" કહી દેવી. Width એટલે એક trip માં કેટલા bits જાય, નહીં કે trips કેટલી ઝડપથી થાય.

Theory

આ word તો તમે વાપરો જ છો

USB નું પૂરું નામ છે Universal Serial Bus, એ જ idea external devices માટે standardise કરેલો. અને પેલો 2ⁿ addressing નો rule એ binary નો તમારો પહેલો ખરેખરો ફાયદો છે (2 topics પછી Number Systems માં આવે છે): Chirag machine વેચે ત્યારે 32-bit vs 64-bit ની આખી વાત address bus પર two ની powers ને લીધે જ મહત્વની બને છે.

Summary

Key takeaways

  • Buses એ CPU, memory અને devices ને જોડતા shared wire highways છે.
  • Address bus: ક્યાં (one-way, CPU → memory).
  • Data bus: શું (two-way, read અને write).
  • Control bus: ક્યારે અને કેવી રીતે (read/write અને timing signals).
  • Power bus: વીજળીનું distribution.
  • n address lines 2ⁿ locations સુધી પહોંચે; width = એક trip માં bits.
  • યાદ રાખવાની hook: address slip, parcel, instructions, fuel.

Study this properly

This page is the lesson to read. In Gri-Learn the same topic is a graded deck: the self-checks are scored and your weak topics are tracked. Free to start.

Start this topic

Already have an account? Sign in

More from Basic Computer Architecture

Gri-Learn · syllabus-mapped B.C.A. lessons in English, Hindi and Gujarati

Concepts of Address Bus, Control Bus, Power Bus and Data Bus · Introduction to Computers · Gri-Learn