Control unit in computer system and its functions in Hindi
Makhanlal Chaturvedi University / BCA / Fundamentals of Computer and Information Technology
Control Unit in Computer System – Complete Guide in Hindi
Control Unit in Computer System in Hindi
What is Control Unit in Hindi
Control Unit (CU) कंप्यूटर सिस्टम का एक बहुत ही महत्वपूर्ण हिस्सा होता है। यह CPU (Central Processing Unit) का एक हिस्सा होता है और इसका मुख्य काम होता है कंप्यूटर में सभी operations को control करना। यह एक तरह से दिमाग की तरह काम करता है जो तय करता है कि कौन सा काम कब और कैसे होगा।
Control Unit खुद कोई data process नहीं करता, लेकिन यह यह सुनिश्चित करता है कि बाकी सभी units जैसे ALU (Arithmetic Logic Unit), Memory, Input/Output Devices सही तरीके से अपना काम करें और एक सही sequence में काम करें।
Functions of Control Unit in Hindi
- Control Unit सभी instructions को decode करता है और उनके अनुसार बाकी units को निर्देश देता है।
- यह यह तय करता है कि किस instruction को execute करना है और उसके लिए कौन सा hardware unit काम करेगा।
- CU सभी signals को manage करता है जो CPU और memory या I/O devices के बीच जाते हैं।
- यह fetch-decode-execute cycle को manage करता है।
- CU यह भी सुनिश्चित करता है कि data सही समय पर memory में जाए और सही समय पर ALU को मिले।
How Control Unit Manages CPU Operations in Hindi
CPU में operations को सही ढंग से manage करने के लिए Control Unit step-by-step एक तय प्रक्रिया अपनाता है। यह प्रक्रिया सामान्यतः तीन चरणों में होती है: Fetch, Decode और Execute।
- Fetch: सबसे पहले CU memory से instruction को fetch करता है। यह instruction main memory में store होती है और CU उसे instruction register में लाता है।
- Decode: उसके बाद, CU उस instruction को decode करता है यानी समझता है कि क्या करना है। यह decoding instruction set architecture के अनुसार होती है।
- Execute: फिर CU ALU या किसी अन्य hardware unit को instruction के अनुसार निर्देश देता है कि किस data पर क्या operation करना है।
Control Unit पूरे process को synchronize करता है यानी सभी steps एक क्रम में हों और सही समय पर हों। यह Control Signals के माध्यम से सभी hardware units को command देता है कि कब क्या काम करना है।
Types of Control Unit – Hardwired and Microprogrammed in Hindi
Control Unit के दो मुख्य प्रकार होते हैं:
1. Hardwired Control Unit in Hindi
Hardwired Control Unit पूरी तरह से electronic circuits और fixed logic के ज़रिए बनाई जाती है। इसमें instruction के अनुसार काम करने के लिए circuits को एक निश्चित configuration में जोड़ा जाता है।
- Speed बहुत तेज़ होती है क्योंकि instructions direct logic circuits से control होती हैं।
- Design complex होता है और कोई change करना मुश्किल होता है।
- यह अधिकतर छोटे और fast processing systems में use होती है।
2. Microprogrammed Control Unit in Hindi
Microprogrammed Control Unit instructions को control करने के लिए एक छोटी सी memory (Control Memory) का उपयोग करता है, जिसमें microinstructions store होती हैं।
- यह flexible होती है, यानी changes करना आसान होता है।
- Design करना आसान होता है लेकिन speed थोड़ी कम होती है।
- यह complex CPUs जैसे CISC architecture में use होती है।
| Feature | Hardwired Control Unit | Microprogrammed Control Unit |
|---|---|---|
| Design | Fixed Logic Circuits | Control Memory से Instructions |
| Speed | High | Moderate |
| Flexibility | Low (Not easily modifiable) | High (Easily changeable) |
| Use Cases | Simple CPUs, Real-Time Systems | Complex CPUs, General Purpose Systems |
Control Unit and Instruction Execution Cycle in Hindi
Instruction Execution Cycle वह प्रक्रिया है जिसमें एक instruction को step-by-step execute किया जाता है। इस प्रक्रिया को Control Unit manage करता है और इसे हम चार भागों में बाँट सकते हैं:
- 1. Fetch: सबसे पहले CU instruction को memory से लाता है और instruction register में store करता है।
- 2. Decode: CU उस instruction को समझता है कि किस प्रकार का operation करना है (जैसे add, subtract, move)।
- 3. Execute: फिर ALU या किसी अन्य unit को instruction भेजी जाती है और उसे perform किया जाता है।
- 4. Store/Result: अंत में result को memory या किसी register में store कर दिया जाता है।
Control Unit पूरे Execution Cycle को बार-बार repeat करता है, जब तक सारे instructions complete नहीं हो जाते। इसके द्वारा पूरे system को एक sequence में organize किया जाता है ताकि कोई conflict या delay न हो।
Control Unit की सबसे बड़ी विशेषता यह होती है कि यह CPU के सभी components के बीच तालमेल (coordination) बनाकर रखता है और सभी operations को एक queue या sequence में process करता है। यह ensure करता है कि instructions सही तरीके से execute हों और कोई भी data या instruction गलती से skip न हो।