Question

In: Computer Science

Consider a hypothetical Control Unit which supports 8 k words. The Hardware contains 64 internal control...

Consider a hypothetical Control Unit which supports 8 k words. The Hardware contains 64 internal control signals, 16 bus control signals, 8 Flags and 8 branch conditions. What is the size of control word and control memory in:
a) Horizontal Programming b) Vertical programming

Solutions

Expert Solution

Solution:

Given,

=>Number of control words memory = 8 K

=>Number of internal control signal = 64

=>Number of bus control signal = 16

=>Number of flags = 8

=>Number of branch conditions = 8

(a)

Explanation:

Horizontal programming:

Control word:

Branch condition Internal control signal Bus control signal Flag Memory

     3 bits                        64 bits                          16 bits              3 bits   13 bits

Calculaitng number of bits for branch condition:

=>Number of bits for branch condition = log2(number of branch conditions)

=>Number of bits for branch condition = log2(8)

=>Number of bits for branch condition = 3 bits

Calculating number of bits for internal control signal:

=>In horizontal programming 1 bit is required for each control signal.

=>Number of bits required for 64 internal control signal = 64 bits

Calculating number of bits for bus control signal:

=>In horizontal programming 1 bit is required for each control signal.

=>Number of bits required for 16 bus control signal = 16 bits

Calculating number of bits for flag:

=>Number of bits for flag = log2(number of flags)

=>Number of bits for flag = log2(8)

=>Number of bits for flag = 3 bits

Calculating number of bits for memory address:

=>Number of bits for memory address = log2(size of memory)

=>Number of bits for memory address = log2(8 K)

=>Number of bits for memory address = log2(8*2^10)

=>Number of bits for memory address = 13 bits

Calculating size of control word:

=>Size of control word = 3 bits + 64 bits + 16 bits + 3 bits + 13 bits

=>Size of control word = 99 bits

Calculating size of control memory:

=>Size of control memory = (2^number of memory address bits)*size of control word

=>Size of control memory = 2^13*99 bits

(b)

Vertical programming:

Control word:

Branch condition Internal control signal Bus control signal Flag Memory

      3 bits                        6 bits                          4 bits              3 bits   13 bits

Calculaitng number of bits for branch condition:

=>Number of bits for branch condition = log2(number of branch conditions)

=>Number of bits for branch condition = log2(8)

=>Number of bits for branch condition = 3 bits

Calculating number of bits for internal control signal:

=>Number of bits required for 64 internal control signal = log2(number of internal control signals)

=>Number of bits required for 64 internal control signal = log2(64)

=>Number of bits required for 64 internal control signal = 6 bits

Calculating number of bits for bus control signal:

=>Number of bits required for 16 bus control signal = log2(16)

=>Number of bits required for 16 bus control signal = 4 bits

Calculating number of bits for flag:

=>Number of bits for flag = log2(number of flags)

=>Number of bits for flag = log2(8)

=>Number of bits for flag = 3 bits

Calculating number of bits for memory address:

=>Number of bits for memory address = log2(size of memory)

=>Number of bits for memory address = log2(8 K)

=>Number of bits for memory address = log2(8*2^10)

=>Number of bits for memory address = 13 bits

Calculating size of control word:

=>Size of control word = 3 bits + 6 bits + 4 bits + 3 bits + 13 bits

=>Size of control word = 29 bits

Calculating size of control memory:

=>Size of control memory = (2^number of memory address bits)*size of control word

=>Size of control memory = 2^13*29 bits

I have explained each and every part with the help of statements attached to it.


Related Solutions

Consider a computer system with a 64-bit logical address and 8-KB page size. The system supports...
Consider a computer system with a 64-bit logical address and 8-KB page size. The system supports up to 1024 MB of physical memory: How many entries are there in each of the following in the page table? Describe how a logical address may be used to obtain the frame number. You may use the virtual address 14533956 to illustrate your answer. make it short and clear , please type in your keyboard.
Design ALU 64 bit, Control Unit 64 bit and 64 bit Data path. Show how three...
Design ALU 64 bit, Control Unit 64 bit and 64 bit Data path. Show how three of them related to each other.
1. A hypothetical neuron has an internal concentration of 15mM Na+ and 140mM K+. The extracellular...
1. A hypothetical neuron has an internal concentration of 15mM Na+ and 140mM K+. The extracellular concentration of Na+ is 150mM, while K+ is 15mM. a) Using the Nerst equation, calculate the equilibrium potentials for both Na+ and K+. Be sure to show your work. b) The numbers you generated above do not directly reflect the natural resting membrane(Vm) of the neuron, but indicate the equlibrium potential (Ex) for each ion. The actual resting membrane potential of the neuron is...
Which is NOT a broad purpose of Internal Control?
Which is NOT a broad purpose of Internal Control?Internal Control helps management to achieve:1.Compliance with applicable laws2.Reliable financial reporting3.Operations that are effective and efficient4.Effective budgetingInternal Control is:1.the accounting cycle2.the process to help a company meets its operational and financial reporting objectives3.A report prepared in 2013 by forensic accounting firm Warfield & Associates4.showing that debits = creditsA component of internal control is:1.risk assessment2.journals3.subsidiary ledgers4.controlling accounts
which of the following is not an element of internal control control environment monitoring making employees...
which of the following is not an element of internal control control environment monitoring making employees happy control procedures
consider a hypothetical case in which the charge on a proton is twice that of an...
consider a hypothetical case in which the charge on a proton is twice that of an electron . Using this hypothetical case , and the fact that atoms maintain a charge of 0 , how many protons , neutrons , and electrons would a potassium -39 atom contain ?
Which of these is not a good internal control practice? Select one: a. The use of...
Which of these is not a good internal control practice? Select one: a. The use of the periodic inventory system for stock control b. Taking out a trial balance c. The use of passwords for computer access d. The pre-numbering of documents
Which of the principle(s) of internal control apply to most businesses?
Which of the principle(s) of internal control apply to most businesses?
300 WORDS REQUIREMENT!!! Review the basic control concepts and why a code of ethics and internal...
300 WORDS REQUIREMENT!!! Review the basic control concepts and why a code of ethics and internal controls are important.
internal control- an overview can you make 8 -10 ppt slides on this topic
internal control- an overview can you make 8 -10 ppt slides on this topic
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT