• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/34

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

34 Cards in this Set

  • Front
  • Back

You have available 512K x 4 bit memory integrated circuits. You need a 4M x 32 bit memory system. How many address lines do you need for the memory system? How many address lines are connected the decoder?

3-bit decoder22 address lines

The ripple carry adder has as one of its failings is slow since the carry has to propgate from the least significant to most significant bit position. How can the addition function be made faster?

CLA Method: Carry lookahead method

Memory blocks (lines) can be mapped into cache blocks using direct mapping. How is this mapping calculated?

%n (modulus n), n = number of blocks

How is it determined which DMA device has access to the computer bus?

Arbitration, using rotation or priority schemas

Cache memory blocks can be mapped from main memory to cache using associative mapping. What is a disadvantage of this mapping technique?

Complex circuitry needed to compare the tags in parallel in the cache

In an associative cache memory how do we determine if a cache line in the cache corresponds to the memory address presented?

Parallel search of TAG

For the memory system which has 4M words of main memory, a cache of 128K words where the cache is organized as a 2 way set associative cache with a block size of 64 words, how many bits are there in the TAG, SET, and WORD fields?

TAG = M-(SET+WORD), SET = K-(w+W), WORD = W, TAG+SET+WORD = MTAG = 6, SET = 10, WORD = 6

The memory system was treated as a hierarchy of different types of memory. Which of these types is the fastest (has the shortest access time)?

Registers

Of the compression techniques discussed in class, which would be used to compress a source file? Why?

Huffman Encoding (lossless compression): zero loss of any information

Define hit rate as regards to cache memory operations.

% of information that is in the cache, compared to the total information (always <= 1)

Memory was classified as static vs. dynamic, or volatile vs. non-volatile. Define one of the classifications.

Static: expensive, faster memoryDynamic: cheaper, slower memoryVolatile: will lose data after being powered offNon-volatile: will retain data after being powered off

What is the major difference between the branch and branch and link instructions?

Branch: no memory, no returnBranch & Link: memory, can return

In a pipelined architecture, why should branch instructions be avoided in writing programs?

Branch delays/penalties: waste clock cycles on useless instructions

Direct Memory Access (DMA) is used with high speed I/O devices. Why is this an advantage?

Access memory directly, bypass the processor

When using the one bit shift/add multiplication hardware it is only capable of multiplying two positive binary numbers and cannot multiply signed binary numbers and produce the correct signed result. What is one solution to multiply signed binary numbers?

Booth's Algorithm

Who maintains the PCI bus interface standard?

SIG

In the naïve implementation of a virtual memory system, the mapping of the logical (virtual) address to a physical main memory address is done with a lookup table in memory. How can this be done faster?

TLB: translational lookaside buffer

Who maintains the USB interface standard?

IEEE

Who maintains the Firewire interconnection standard?

Apple (inventors), IEEE

How are the control signals necessary for the BPU to operate generated?

Control unit – Hardwired, or Microprogrammed

If the requirement is to send data over a long distance what type of external input/output is used?

Serial Transmission Speed

When accessing memory how does the BPU know when the data is available?

Control signal from memory (MFC)

Define access time for memory.

The time between address presentation and the data available

When simultaneous interrupt requests occur what is one method to determine which request to service first?

Polling

When responding to an interrupt request how does the BPU know where the service routine is located (one method)?

A vector points to the location of the ISR (vector interrupt scheme)

When calling a subroutine (also known as a function or method) describe one method to pass the parameters to the subroutine.

By value (no change to original)

When shifting a register to the right what is the difference between a logical shift and an arithmetic shift?

Logical: insert 0's at the left endArithmetic: copy sign at the left end

The BPU has four condition status bits which are affected by operations in the ALU. Describe what two of them indicate.

Negative: result is negativeZero: result has no 1's

The ARM instruction set has instructions for three of the four integer arithmetic functions. Which one of the four is not supported by the hardware?

Division

Discuss one aspect between RISC and CISC architectures that distinguishes one from the other.

RISC: simple instructionsCISC: complex instructions

Given the contents of an 8 bit register in binary, what is the result in the register when logically shifting three bits right: 11000101 ?

00011000

When performing input/output how does the device recognize that the BPU is accessing it?

The decoder on the address lines

What is one disadvantage of memory mapped I/O addressing?

Possibility of a very large decoder

What is the advantage of using programmed (polled) I/O?

Simple Hardware/Software