1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Natasha_Volkova [10]
3 years ago
8

Design (draw a datapath) for a block that will help your processor decide whether to take a branch for different conditions. As

input, your block will be given an opcode for the type of branch and signals from the ALU which perform the actual comparisons. Your block will produce a single signal branch as output.
Inputs:
• zero - 1 if R[rs1] - R[rs2] = 0, 0 otherwise
• lt - 1 if R[rs1] < R[rs2], 0 otherwise
• opcode (2b) - 00: beq (==), 01: bne (!=), 10: blt (<), 11: bge (>=)

Output:
• branch - 1 if branch should be taken, 0 if not

Computers and Technology
1 answer:
LekaFEV [45]3 years ago
8 0

Answer:

See explaination

Explanation:

Here are the steps taken to draw the diagram!

opcode0 and the opcode1 signals are inverted/not to determine the case whether it is 00, 01, 10, 11.

Then they are 'and'ed with the corresponding Zero/lt signal to confirm if the case is true, for eg. zero = 1 if opcode = 00 (beq).

Then all the cases are 'or'ed to get the Branch signal!

See attachment for the diagram

You might be interested in
In a selection, the else clause executes ______________. a. always b. when the tested condition is false c. when the tested cond
riadik2000 [5.3K]
B. when the tested condition is false
7 0
2 years ago
Suppose a retailer who has no technology expertise wishes to set up an online presence for his business. He ________. a. ​can us
Tomtit [17]

Answer:

a. can use a hosting service to set up the site

Explanation:

Since the retailer has no knowledge on how to code and create a website and online presence for his business, he should consult a hosting service. The service will be able to communicate with the retailer and find out what his wishes are for his online presence. They will be able to create a webpage, social media accounts, and they can advertise the retailer's business.

8 0
3 years ago
When programming, the word "execute" means which of these?
Inga [223]

Answer:

to run!

Explanation:

hope this is helpful!

7 0
3 years ago
What is the purpose of the ISOWEEKNUM function? determines how many workdays are in a certain week determines how many workdays
ivanzaharov [21]

Answer:

It's D

Explanation:

5 0
3 years ago
Read 2 more answers
Default tab stops are set in word every _______ inch. a. ¾ b. ½ c. 1 d. ¼
Dennis_Churaev [7]
A) 3/4 inch Meow! XD
6 0
3 years ago
Other questions:
  • _____________ is a service that provides access to hardware resources available over the Internet.
    11·1 answer
  • Which shortcut key aligns text to the center of a page?
    13·2 answers
  • convert the following c code to mips. assume the address of base array is associated with $s0, n is associated with $s1, positio
    14·1 answer
  • You have no control over who views your social network information
    13·2 answers
  • A list of pages within a Web site that you have visited and that usually appears at the top of a page is referred to as a(n) ___
    14·1 answer
  • Which of the following jobs is considered part of the information technology industry?
    15·2 answers
  • Which of the following code segments could be used to skip the first two characters of an input line (they may or may not be whi
    13·1 answer
  • Which of the following examples can be solved with unsupervised learning?
    8·1 answer
  • What is normalization?
    7·1 answer
  • Jonah wants to type an assignment using Word. Arrange the steps he needs to follow in the correct order.?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!