SlideShare una empresa de Scribd logo
1 de 27
Register Transfer language And Micro-operation
Register transfer language		 The symbolic notation used to describe the micro operation transfers among register is called a register transfer language. A programming language is a procedure for writing symbols to specify a given computational process. A register transfer language is a system for expressing in symbolic form the micro operation sequences among the register of a digital module
The internal hardware organization of a digital computer is best defined byspecifying The set of register it contains and their function. The sequence of micro operations performed on the binary information stored in the registers. The control that initiates the sequence of micro operations.
Register A register is a group of flip-flops. Each flip–flop is capable of storing one bit of information. An n-bit register consists of a group of n flip-flops capable of storing n bits of binary information. In addition to the flip-flops, a register may have combinational gates that perform certain data processing tasks. The flip-flops hold the binary information and the gates determine how the information is transferred into the register. Various types of registers are available commercially. The simplest register is one that consists of only flip-flops without any gates.
register The register that holds an address for the memory unit is called a memory address register and is designated by the name MAR or AR. As for registers are PC (for program counter), IR (for instruction register) and R1 (for processor register). The individual flip-flops in an n-bit register are numbered in sequence from 0 through n-1, starting from 0 in the rightmost position and increasing the numbers toward the left. The most common way to represent a register is by a rectangular box with the name of the register inside, as in Fig. 1-12 (a). The individual bits can be distinguished as in (b). The numbering of bits in a 16-bit register can be marked on top of the box as shown in (c). A 16-bit register is partitioned into two parts in (d). Bits 0 through 7 are assigned the symbol L (for low byte) and bits 8 through 15 are assigned the symbol H (for high byte). The name of the 16-bit register is PC. The symbol PC(O—7) or PC(L) refers to the low-order byte and PC(8—15) or PC(H) to the high-order byte.
register Information transfer from one register to another is designated in symbolic form by means of a replacement operator. The statement 			R2 ← R1 denotes a transfer of the content of register R1 into register R2. It designates a replacement of the content of R2 by the content of R1. By definition, the content of the source register R1 does not change after the transfer. Normally, we want the transfer to occur only under a predetermined control condition. This can be shown by means of an if-then statement. 		If (P = 1) then (R2  ← R1) Where P is a control signal generated in the control section. It is sometimes convenient to separate the control variables from the register transfer operation by specifying a control function.
register A control function is a Boolean variable that is equal to I or 0. The control function is included in the statement as follows: 		P: R2  ←  R1 The control condition is terminated with a colon. It symbolizes the requirement that the transfer operation be executed by the hardware only if P= 1. Every statement written in a register transfer notation implies a hardware construction for implementing the transfer. Figure 1-13 shows the block diagram that depicts the transfer from R1 to R2. The n outputs of register R1 are connected to the n inputs of register R2. The letter n will be used to indicate any number of bits for the register. Register R2 has a load input that is activated by the control variable P.
Representation of register  The clock is not included as a variable in the register transfer statements. It is assumed that the control variable is synchronized with the same clock    as the one applied to the register. It is assumed that all transfers occur during a clock edge transition.
register Even though the control condition such as P becomes active just after time t, the actual transfer does not occur until the register is triggered by the next positive transition of the clock at time t + 1.this is shown in figure 1-13. Transfer from R1 to R2 when K1=1
Register transfer
Register transfer Example: 	T: R2   ←  R1, R1 ←  R2 This statement denotes an operation that exchanges the contents of two registers during one common Clock pulse provided that T = 1. This simultaneous operation is possible with registers that have edge-triggered flip-flops.
Bus organization and transfer The CPU communicates with the other components via a bus. A bus is a set of Wires (multiplexers) that acts as a shared but common data path to connect multiple subsystems within the system. It consists of multiple lines, allowing the parallel movement of bits. Buses are low cost but very versatile, and they make it easy to connect new devices to each other and to the system. At any one time, only one device (be it a register, the ALU, memory, or some other component) may use the bus. However, this sharing often results in a communications bottleneck. The speed of the bus is affected by its length as well as by the number of devices sharing it.
Common Bus system configuration A more efficient scheme for transferring information between common bus registers in a multiple-register configuration is a common bus system. A bus structure consists of a set of common lines, one for each bit of a register, through which binary information is transferred one at a time. Control signals determine which register is selected by the bus during each particular register transfer. Constructing a common bus system a. Using multiplexers b. Using three state buffers.
 Using multiplexers The multiplexers select the source register whose binary information is then placed on the bus. Each register has four bits, numbered 0 through 3. The bus consists of four 4 x 1 multiplexers each having four data inputs, 0 through 3, and two selection inputs, S1 and S0. In order not to complicate the diagram with 16 lines crossing each other, we use labels to show the connections from the outputs of the registers to the inputs of the multiplexers. For example, output 1 of register A is connected to input 0 of MUX 1 because this input is labeled A1. The two selection lines S0and S1 are connected to the selection inputs of all four multiplexers. Table 1-2 shows the register that is selected by the bus for each of the four possible binary values of the selection lines.
Bus system for four register using four mux
Using multiplexer The number of multiplexers needed to construct the bus is equal to n. The size of each multiplexer must be k x 1 since it multiplexes k data lines. For example  A common bus for  eight  registers of  16 bits each requires 16 multiplexers , one for each line in the bus. So Each multiplexer must have eight data input lines and three selection lines to multiplex one significant bit in the eight registers.
Using three state buffers A three-state gate: Is a digital circuit that exhibits three states.  Two of the states are signals equivalent to logic 1 and 0 as in a conventional gate. The third state is a high-impedance state. The high-impedance state behaves like an open circuit, which means that the output is disconnected and does not have logic significance. Three-state gates may perform any conventional logic, such as AND or NAND. However, the one most commonly used in the design of a bus system is the buffer gate.
Three state buffer It is distinguished from a normal buffer by having both a normal input and a control input.
The control input determines the output state When the control input is equal to 1, the output is enabled and the gate behaves like any conventional buffer, with the output equal to the normal input.  When the control input is 0, the output is disabled and the gate goes to a high-impedance state(Hi-Z), regardless of the value in the normal input. The high-impedance state of a three-state gate provides a special feature not available in other gates. Because of this feature, a large number of three-state gate outputs can be connected with wires to form a common bus line without endangering loading effects.
Construction with three state buffer The outputs of four buffers are connected together to form a single bus line. (It must be realized that this type of connection cannot be done with gates that do not have three-state outputs.) The control inputs to the buffers determine which of the four normal inputs will communicate with the bus line. No more than one buffer may be in the active state at any given time. The connected buffers must be controlled so that only one three-state buffer has access to the bus line while all other buffers are maintained in a high- impedance state. One way to ensure that no more than one control input is active at any given time is to use a decoder, as shown in the diagram.
Bus line with three state buffer
Three state buffer To construct a common bus for four registers of n bits each using thee state buffer, we need n circuit with four buffer receives one significant bit from the four registers. Each common output produces one of the lines for the common bus for a total of n lines . Only one decoder is necessary to select between the four registers.
Three-state Bus versus Multiplexer bus
Memory transfer A memory word will be symbolized by the letter M. The particular memory word among the many available is selected by the memory address during the transfer. This will be done by enclosing the address in square brackets following the letter M .Consider a memory unit that receives the address from a register, called the address register, symbolized by AR. The data are transferred to another register, called the data register, symbolized by DR  Then:
Read operation A read operation: the transfer of information from a memory word to the outside environment. 		Read: DR ←  M[AR] This causes a transfer of information into DR from the memory word M selected by the address in AR. The write operation transfers the content of a data register to a memory word M selected by the address. Assume that the input data are in register R1 and the address is in AR.
Write operation A write operation: the transfer of new information to be stored into the memory. 		Write: M[AR]  ←  R1 This causes a transfer of information from R1 into the memory word M selected by the address in AR.
Thanks for watching by: Sanjeev Patel

Más contenido relacionado

La actualidad más candente

Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operationNikhil Pandit
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organizationMazin Alwaaly
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architectureFaisal Hussain
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction FormatDhrumil Panchal
 
Stack organization
Stack organizationStack organization
Stack organizationchauhankapil
 
Pipelining and vector processing
Pipelining and vector processingPipelining and vector processing
Pipelining and vector processingKamal Acharya
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.CS_GDRCST
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modesRamaPrabha24
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memoryDeepak John
 

La actualidad más candente (20)

Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 
Instruction format
Instruction formatInstruction format
Instruction format
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
 
Computer Organization
Computer OrganizationComputer Organization
Computer Organization
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction Format
 
Stack organization
Stack organizationStack organization
Stack organization
 
Memory mapping
Memory mappingMemory mapping
Memory mapping
 
Input output interface
Input output interfaceInput output interface
Input output interface
 
Pipelining and vector processing
Pipelining and vector processingPipelining and vector processing
Pipelining and vector processing
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 
Micro program example
Micro program exampleMicro program example
Micro program example
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 
Basic Computer Organization and Design
Basic  Computer  Organization  and  DesignBasic  Computer  Organization  and  Design
Basic Computer Organization and Design
 
Cache memory
Cache memoryCache memory
Cache memory
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 

Similar a Register transfer language

REGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONSREGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONSAnonymous Red
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)Siddhi Viradiya
 
student important knowledge on computer data .pptx
student important knowledge on computer data .pptxstudent important knowledge on computer data .pptx
student important knowledge on computer data .pptxjainyshah20
 
Computer Organization & Architecture.ppt
Computer Organization & Architecture.pptComputer Organization & Architecture.ppt
Computer Organization & Architecture.pptGauravSharmaIAHAP
 
Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operationKamal Acharya
 
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdftemp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdfBhureVedika
 
5. Encoder and Decoder-Bus and memory.pdf
5. Encoder and Decoder-Bus and memory.pdf5. Encoder and Decoder-Bus and memory.pdf
5. Encoder and Decoder-Bus and memory.pdfSourabhRaj29
 
LEC 2-register transfer and register transfer language.ppt
LEC 2-register transfer and register transfer language.pptLEC 2-register transfer and register transfer language.ppt
LEC 2-register transfer and register transfer language.pptmailmynew202
 
Register transfer and microoperations part 1
Register transfer and microoperations part 1Register transfer and microoperations part 1
Register transfer and microoperations part 1Prasenjit Dey
 
Instruction FormatMachine instruction has an opcode and zero or m.pdf
Instruction FormatMachine instruction has an opcode and zero or m.pdfInstruction FormatMachine instruction has an opcode and zero or m.pdf
Instruction FormatMachine instruction has an opcode and zero or m.pdfpritikulkarni20
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noidaEdhole.com
 
Register reference
Register referenceRegister reference
Register referenceNitesh Singh
 
Commputer organization and assembly .ppt
Commputer organization and assembly .pptCommputer organization and assembly .ppt
Commputer organization and assembly .pptamanterefe99
 

Similar a Register transfer language (20)

Ch4
Ch4Ch4
Ch4
 
REGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONSREGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONS
 
COA (Unit_1.pptx)
COA (Unit_1.pptx)COA (Unit_1.pptx)
COA (Unit_1.pptx)
 
COA pptx.pptx
COA pptx.pptxCOA pptx.pptx
COA pptx.pptx
 
CO By Rakesh Roshan
CO By Rakesh RoshanCO By Rakesh Roshan
CO By Rakesh Roshan
 
Computer organization
Computer organizationComputer organization
Computer organization
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
 
student important knowledge on computer data .pptx
student important knowledge on computer data .pptxstudent important knowledge on computer data .pptx
student important knowledge on computer data .pptx
 
Computer Organization & Architecture.ppt
Computer Organization & Architecture.pptComputer Organization & Architecture.ppt
Computer Organization & Architecture.ppt
 
Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operation
 
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdftemp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
 
5. Encoder and Decoder-Bus and memory.pdf
5. Encoder and Decoder-Bus and memory.pdf5. Encoder and Decoder-Bus and memory.pdf
5. Encoder and Decoder-Bus and memory.pdf
 
LEC 2-register transfer and register transfer language.ppt
LEC 2-register transfer and register transfer language.pptLEC 2-register transfer and register transfer language.ppt
LEC 2-register transfer and register transfer language.ppt
 
Register transfer and microoperations part 1
Register transfer and microoperations part 1Register transfer and microoperations part 1
Register transfer and microoperations part 1
 
Instruction FormatMachine instruction has an opcode and zero or m.pdf
Instruction FormatMachine instruction has an opcode and zero or m.pdfInstruction FormatMachine instruction has an opcode and zero or m.pdf
Instruction FormatMachine instruction has an opcode and zero or m.pdf
 
coa
coacoa
coa
 
Bus and Memory transfer
Bus and Memory transferBus and Memory transfer
Bus and Memory transfer
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noida
 
Register reference
Register referenceRegister reference
Register reference
 
Commputer organization and assembly .ppt
Commputer organization and assembly .pptCommputer organization and assembly .ppt
Commputer organization and assembly .ppt
 

Más de Sanjeev Patel

Unit v export incentives
Unit v export incentivesUnit v export incentives
Unit v export incentivesSanjeev Patel
 
Types of letter of credits on 11 09 2012
Types of letter of credits  on 11 09 2012Types of letter of credits  on 11 09 2012
Types of letter of credits on 11 09 2012Sanjeev Patel
 
Risks involved in imports
Risks involved in importsRisks involved in imports
Risks involved in importsSanjeev Patel
 
Processing of export order on 4 09 12
Processing of export order on 4 09 12Processing of export order on 4 09 12
Processing of export order on 4 09 12Sanjeev Patel
 
Mib 3.6 unit ii on 10 09 12
Mib 3.6 unit ii  on 10 09 12Mib 3.6 unit ii  on 10 09 12
Mib 3.6 unit ii on 10 09 12Sanjeev Patel
 
Mib 3.6 unit 2 on 17 09 2012
Mib 3.6 unit 2 on 17 09 2012Mib 3.6 unit 2 on 17 09 2012
Mib 3.6 unit 2 on 17 09 2012Sanjeev Patel
 
Mib 3.6 on august 6 th 2012
Mib 3.6 on august 6 th 2012Mib 3.6 on august 6 th 2012
Mib 3.6 on august 6 th 2012Sanjeev Patel
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
Mib 3.6 on 13 th aug 2012  charac and types of exim docsMib 3.6 on 13 th aug 2012  charac and types of exim docs
Mib 3.6 on 13 th aug 2012 charac and types of exim docsSanjeev Patel
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
Mib 3.6 on 13 th aug 2012  charac and types of exim docs   copyMib 3.6 on 13 th aug 2012  charac and types of exim docs   copy
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copySanjeev Patel
 
Mib 3.6 marine insurance on 09 10 12 copy
Mib 3.6 marine insurance  on 09 10 12   copyMib 3.6 marine insurance  on 09 10 12   copy
Mib 3.6 marine insurance on 09 10 12 copySanjeev Patel
 
Mib 3.6 export financing on 1 10 12
Mib 3.6 export financing on 1 10 12Mib 3.6 export financing on 1 10 12
Mib 3.6 export financing on 1 10 12Sanjeev Patel
 
Incoterms on 27th august 2012
Incoterms on 27th august 2012Incoterms on 27th august 2012
Incoterms on 27th august 2012Sanjeev Patel
 
Export import control main
Export import control   mainExport import control   main
Export import control mainSanjeev Patel
 
Mib 3.6 on 14th aug 2012
Mib 3.6  on 14th aug 2012Mib 3.6  on 14th aug 2012
Mib 3.6 on 14th aug 2012Sanjeev Patel
 
Teachers day _Sanjeev_Patel
Teachers day  _Sanjeev_PatelTeachers day  _Sanjeev_Patel
Teachers day _Sanjeev_PatelSanjeev Patel
 
Memory reference instruction
Memory reference instructionMemory reference instruction
Memory reference instructionSanjeev Patel
 
Logical and shift micro operations
Logical and shift micro operationsLogical and shift micro operations
Logical and shift micro operationsSanjeev Patel
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registersSanjeev Patel
 

Más de Sanjeev Patel (20)

Unit v export incentives
Unit v export incentivesUnit v export incentives
Unit v export incentives
 
Types of letter of credits on 11 09 2012
Types of letter of credits  on 11 09 2012Types of letter of credits  on 11 09 2012
Types of letter of credits on 11 09 2012
 
Risks involved in imports
Risks involved in importsRisks involved in imports
Risks involved in imports
 
Processing of export order on 4 09 12
Processing of export order on 4 09 12Processing of export order on 4 09 12
Processing of export order on 4 09 12
 
North america ppt
North america pptNorth america ppt
North america ppt
 
Mib 3.6 unit ii on 10 09 12
Mib 3.6 unit ii  on 10 09 12Mib 3.6 unit ii  on 10 09 12
Mib 3.6 unit ii on 10 09 12
 
Mib 3.6 unit 2 on 17 09 2012
Mib 3.6 unit 2 on 17 09 2012Mib 3.6 unit 2 on 17 09 2012
Mib 3.6 unit 2 on 17 09 2012
 
Mib 3.6 on august 6 th 2012
Mib 3.6 on august 6 th 2012Mib 3.6 on august 6 th 2012
Mib 3.6 on august 6 th 2012
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
Mib 3.6 on 13 th aug 2012  charac and types of exim docsMib 3.6 on 13 th aug 2012  charac and types of exim docs
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
Mib 3.6 on 13 th aug 2012  charac and types of exim docs   copyMib 3.6 on 13 th aug 2012  charac and types of exim docs   copy
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
 
Mib 3.6 marine insurance on 09 10 12 copy
Mib 3.6 marine insurance  on 09 10 12   copyMib 3.6 marine insurance  on 09 10 12   copy
Mib 3.6 marine insurance on 09 10 12 copy
 
Mib 3.6 export financing on 1 10 12
Mib 3.6 export financing on 1 10 12Mib 3.6 export financing on 1 10 12
Mib 3.6 export financing on 1 10 12
 
Incoterms on 27th august 2012
Incoterms on 27th august 2012Incoterms on 27th august 2012
Incoterms on 27th august 2012
 
Export import control main
Export import control   mainExport import control   main
Export import control main
 
Mib 3.6 on 14th aug 2012
Mib 3.6  on 14th aug 2012Mib 3.6  on 14th aug 2012
Mib 3.6 on 14th aug 2012
 
Teachers day _Sanjeev_Patel
Teachers day  _Sanjeev_PatelTeachers day  _Sanjeev_Patel
Teachers day _Sanjeev_Patel
 
Memory reference instruction
Memory reference instructionMemory reference instruction
Memory reference instruction
 
Logical and shift micro operations
Logical and shift micro operationsLogical and shift micro operations
Logical and shift micro operations
 
Introduction
IntroductionIntroduction
Introduction
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registers
 

Último

Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 

Último (20)

Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Register transfer language

  • 1. Register Transfer language And Micro-operation
  • 2. Register transfer language The symbolic notation used to describe the micro operation transfers among register is called a register transfer language. A programming language is a procedure for writing symbols to specify a given computational process. A register transfer language is a system for expressing in symbolic form the micro operation sequences among the register of a digital module
  • 3. The internal hardware organization of a digital computer is best defined byspecifying The set of register it contains and their function. The sequence of micro operations performed on the binary information stored in the registers. The control that initiates the sequence of micro operations.
  • 4. Register A register is a group of flip-flops. Each flip–flop is capable of storing one bit of information. An n-bit register consists of a group of n flip-flops capable of storing n bits of binary information. In addition to the flip-flops, a register may have combinational gates that perform certain data processing tasks. The flip-flops hold the binary information and the gates determine how the information is transferred into the register. Various types of registers are available commercially. The simplest register is one that consists of only flip-flops without any gates.
  • 5. register The register that holds an address for the memory unit is called a memory address register and is designated by the name MAR or AR. As for registers are PC (for program counter), IR (for instruction register) and R1 (for processor register). The individual flip-flops in an n-bit register are numbered in sequence from 0 through n-1, starting from 0 in the rightmost position and increasing the numbers toward the left. The most common way to represent a register is by a rectangular box with the name of the register inside, as in Fig. 1-12 (a). The individual bits can be distinguished as in (b). The numbering of bits in a 16-bit register can be marked on top of the box as shown in (c). A 16-bit register is partitioned into two parts in (d). Bits 0 through 7 are assigned the symbol L (for low byte) and bits 8 through 15 are assigned the symbol H (for high byte). The name of the 16-bit register is PC. The symbol PC(O—7) or PC(L) refers to the low-order byte and PC(8—15) or PC(H) to the high-order byte.
  • 6. register Information transfer from one register to another is designated in symbolic form by means of a replacement operator. The statement R2 ← R1 denotes a transfer of the content of register R1 into register R2. It designates a replacement of the content of R2 by the content of R1. By definition, the content of the source register R1 does not change after the transfer. Normally, we want the transfer to occur only under a predetermined control condition. This can be shown by means of an if-then statement. If (P = 1) then (R2  ← R1) Where P is a control signal generated in the control section. It is sometimes convenient to separate the control variables from the register transfer operation by specifying a control function.
  • 7. register A control function is a Boolean variable that is equal to I or 0. The control function is included in the statement as follows: P: R2  ←  R1 The control condition is terminated with a colon. It symbolizes the requirement that the transfer operation be executed by the hardware only if P= 1. Every statement written in a register transfer notation implies a hardware construction for implementing the transfer. Figure 1-13 shows the block diagram that depicts the transfer from R1 to R2. The n outputs of register R1 are connected to the n inputs of register R2. The letter n will be used to indicate any number of bits for the register. Register R2 has a load input that is activated by the control variable P.
  • 8. Representation of register The clock is not included as a variable in the register transfer statements. It is assumed that the control variable is synchronized with the same clock    as the one applied to the register. It is assumed that all transfers occur during a clock edge transition.
  • 9. register Even though the control condition such as P becomes active just after time t, the actual transfer does not occur until the register is triggered by the next positive transition of the clock at time t + 1.this is shown in figure 1-13. Transfer from R1 to R2 when K1=1
  • 11. Register transfer Example: T: R2   ←  R1, R1 ←  R2 This statement denotes an operation that exchanges the contents of two registers during one common Clock pulse provided that T = 1. This simultaneous operation is possible with registers that have edge-triggered flip-flops.
  • 12. Bus organization and transfer The CPU communicates with the other components via a bus. A bus is a set of Wires (multiplexers) that acts as a shared but common data path to connect multiple subsystems within the system. It consists of multiple lines, allowing the parallel movement of bits. Buses are low cost but very versatile, and they make it easy to connect new devices to each other and to the system. At any one time, only one device (be it a register, the ALU, memory, or some other component) may use the bus. However, this sharing often results in a communications bottleneck. The speed of the bus is affected by its length as well as by the number of devices sharing it.
  • 13. Common Bus system configuration A more efficient scheme for transferring information between common bus registers in a multiple-register configuration is a common bus system. A bus structure consists of a set of common lines, one for each bit of a register, through which binary information is transferred one at a time. Control signals determine which register is selected by the bus during each particular register transfer. Constructing a common bus system a. Using multiplexers b. Using three state buffers.
  • 14.  Using multiplexers The multiplexers select the source register whose binary information is then placed on the bus. Each register has four bits, numbered 0 through 3. The bus consists of four 4 x 1 multiplexers each having four data inputs, 0 through 3, and two selection inputs, S1 and S0. In order not to complicate the diagram with 16 lines crossing each other, we use labels to show the connections from the outputs of the registers to the inputs of the multiplexers. For example, output 1 of register A is connected to input 0 of MUX 1 because this input is labeled A1. The two selection lines S0and S1 are connected to the selection inputs of all four multiplexers. Table 1-2 shows the register that is selected by the bus for each of the four possible binary values of the selection lines.
  • 15. Bus system for four register using four mux
  • 16. Using multiplexer The number of multiplexers needed to construct the bus is equal to n. The size of each multiplexer must be k x 1 since it multiplexes k data lines. For example  A common bus for eight registers of 16 bits each requires 16 multiplexers , one for each line in the bus. So Each multiplexer must have eight data input lines and three selection lines to multiplex one significant bit in the eight registers.
  • 17. Using three state buffers A three-state gate: Is a digital circuit that exhibits three states.  Two of the states are signals equivalent to logic 1 and 0 as in a conventional gate. The third state is a high-impedance state. The high-impedance state behaves like an open circuit, which means that the output is disconnected and does not have logic significance. Three-state gates may perform any conventional logic, such as AND or NAND. However, the one most commonly used in the design of a bus system is the buffer gate.
  • 18. Three state buffer It is distinguished from a normal buffer by having both a normal input and a control input.
  • 19. The control input determines the output state When the control input is equal to 1, the output is enabled and the gate behaves like any conventional buffer, with the output equal to the normal input.  When the control input is 0, the output is disabled and the gate goes to a high-impedance state(Hi-Z), regardless of the value in the normal input. The high-impedance state of a three-state gate provides a special feature not available in other gates. Because of this feature, a large number of three-state gate outputs can be connected with wires to form a common bus line without endangering loading effects.
  • 20. Construction with three state buffer The outputs of four buffers are connected together to form a single bus line. (It must be realized that this type of connection cannot be done with gates that do not have three-state outputs.) The control inputs to the buffers determine which of the four normal inputs will communicate with the bus line. No more than one buffer may be in the active state at any given time. The connected buffers must be controlled so that only one three-state buffer has access to the bus line while all other buffers are maintained in a high- impedance state. One way to ensure that no more than one control input is active at any given time is to use a decoder, as shown in the diagram.
  • 21. Bus line with three state buffer
  • 22. Three state buffer To construct a common bus for four registers of n bits each using thee state buffer, we need n circuit with four buffer receives one significant bit from the four registers. Each common output produces one of the lines for the common bus for a total of n lines . Only one decoder is necessary to select between the four registers.
  • 23. Three-state Bus versus Multiplexer bus
  • 24. Memory transfer A memory word will be symbolized by the letter M. The particular memory word among the many available is selected by the memory address during the transfer. This will be done by enclosing the address in square brackets following the letter M .Consider a memory unit that receives the address from a register, called the address register, symbolized by AR. The data are transferred to another register, called the data register, symbolized by DR Then:
  • 25. Read operation A read operation: the transfer of information from a memory word to the outside environment. Read: DR ←  M[AR] This causes a transfer of information into DR from the memory word M selected by the address in AR. The write operation transfers the content of a data register to a memory word M selected by the address. Assume that the input data are in register R1 and the address is in AR.
  • 26. Write operation A write operation: the transfer of new information to be stored into the memory. Write: M[AR]  ←  R1 This causes a transfer of information from R1 into the memory word M selected by the address in AR.
  • 27. Thanks for watching by: Sanjeev Patel