What is MPCU & Difference between RISC and CISC
Micro-programmed Control Unit
- Operation से जुड़े Control Signal को Programmer द्वारा Control words के रूप में inaccessible special memory units में Store किया जाता है।
- Control signal एक Program द्वारा Generate होते हैं जो Machine language Programs के समान होते हैं।
- Micro-programmed control unit की गति धीमी होती है क्योंकि Control memory से micro instructions receive करने में समय लगता है।
Types of Micro-programmed Control Unit
1. Horizontal Micro-programmed control Unit
Control signal को Decoded Binary Format में दर्शाया जाता है जो कि 1 Bit/CS है। Example यदि Processor में 53 Control unit include हैं तो 53 Bits की आवश्यकता है। एक समय में 1 से अधिक control signal enable किए जा सकते हैं।
- यह Long time तक Control word का Support करता है।
- इसका use parallel processing applications में किया जाता है।
- यह parallelism के High level की अनुमति देता है।
- इसके लिए किसी अतिरिक्त Hardware (Decoders) की आवश्यकता नहीं है।
- यह vertical micro programmed की तुलना में अधिक flexible है
2. Vertical Micro-programmed Control Unit
Control signal को encoded binary format में फिर से दर्शाया गया है। N Control signal के लिए- Log2 (N) bits की आवश्यकता होती है।
- यह छोटे control word का Support करता है।
- यह New control signal से आसान implementation का supports करता है इसलिए यह अधिक flexible है।
- यह parallelism की low degree की अनुमति देता है, यानी parallelism की degree या तो 0 या 1 है।
- control signal को generate करने के लिए एक अतिरिक्त Hardware (decoder) की आवश्यकता होती है, इसका अर्थ है कि यह horizontal micro programmed. की तुलना में Slow है।
- यह horizontal की तुलना में कम flexible है लेकिन Hardware control unit की तुलना में अधिक flexible है।
Hardwired Control Unit
Control hardware को एक state machine के रूप में देखा जा सकता है जो प्रत्येक clock cycle में एक State से दूसरे state में बदलता है| जो instruction register की content , condition code और बाहरी Input पर depend करता है। इस machine द्वारा किए गए Operation को sequence logic element की Waring द्वारा define किया जाता है और इसलिए इसे “Hardwired” नाम दिया गया है।
- Fixed logic circuit जो सीधे Boolean expression से match करते हैं| control signal generate करने के लिए use किए जाते हैं।
- Micro-programmed control की तुलना में Hardwired control fast होता है।
- RISC architecture hardwired control unit पर Based होते है|
RISC
RISC का पूरा नाम Reduced Instruction Set Computer है| इसे IBM Company द्वारा बनाया गया था। इसे कम संख्या में Computer Instruction को Execute करने के लिए Design किया गया है यह बहुत तेजी से Operation कर सके। इसके तेज होने का एक कारण यह भी है की इसमें Instruction छोटे और सरल होते है जिससे अधिकांश Instruction का Execute एक चक्र में पूरा हो जाता है, और processor को एक ही समय में कई Instruction को संभालने में आसानी होती है।
Characteristics of CISC
- इससे Complex Instruction Decoding होता है|
- इसमें Instruction एक Word के Size से बड़े होते है|
- इसमें Instruction को Execute करने के लिए single clock cycle से अधिक Time लगता है|
- इसमें Operation के दौरान General Purpose Register की कम सख्या Memory में ही प्रदर्शित हो जाती है|
- इसमें complex Address mode होता है|
- इसमें अधिक Data की जरुरत होती है|
Characteristics of RISC
- इसमें Simple Instruction Decoding होता है|
- इसमें Instruction एक Word के size के अंतर्गत आते है|
- इसमें Instruction Execute करने के लिए single clock cycle लगता है|
- इसमें General Purpose के लिए Registers की सख्या अधिक होती है|
- इसमें Simple address mode होते है|
- इसमें Data कम use होता है|
- इससे piping receive की जा सकती है|
Difference between RISC and CISC
S.No | RISC | CISC |
1 | इसका पूरा नाम Reduced Instruction Set Computer होता है | इसका पूरा नाम Complex Instruction Set Computer होता है |
2 | इसमें Number of Instruction कम हते है | इसमें Number of Instruction ज्यादा होते है |
3 | इसमें Single Instruction Cycle होता है | इसमें Multiple Instruction Cycle होता है |
4 | इसमें Fixed Length Instruction होते है | इसमें Variable Length Instruction होते है |
5 | इसमें कुछ ही Addressing mode होते है | इसमें Multiple Addressing mode होते है |
6 | इसमें Hardwired Control होता है | | इसमें Micro programmed Control होता है |
7 | इसमें Registers का use अधिक किया जाता है | इसमें Registers का use कम किया जाता है |
8 | इसकी Cost कम होती है | इसकी Cost अधिक होती है |
9 | RISC कम Power Full होते है | | CISC अधिक Power Full होते है | |