World's most popular travel blog for travel bloggers.

[Solved]: Is the "data path cycle" the same thing of the "fetch-decode-execute cycle"?

, , No Comments
Problem Detail: 

I am reading the book Structured Computer Organization (5th edition) by Tanenbaum and at a certain point, in the second chapter, he talks about data path cycle and fetch-decode-execute cycle, and I am not understanding if they are really the same thing.

The data path cycle should be the number of small and minimal steps that a CPU goes through each cycle. On the other hand, the fetch-decode-execute cycle is the number of small steps that could be generalised like this:

  1. Fetch the instruction from the memory and put it into a register
  2. Change programming counter to point to the next instruction
  3. Determine the type of the instruction fetched
  4. If the instruction uses a word, determine where it is
  5. Fetch the word, if needed, into a CPU register
  6. Execute instruction
  7. Go to step 1.

The fetch-decode-execute cycle is common to all computers, so each data path cycle should be a fetch-decode-execute cycle, right?

Asked By : nbro

Answered By : Wandering Logic

Data path cycle is not widely used terminology. I believe Tanenbaum made it up. I don't have the 5th edition, but if I look up Tanenbaum's slides on Google (for example: http://www.verlab.dcc.ufmg.br/_media/cursos/arquitetura/2011-1/transparencias/tanembaum_4.pdf) it appears that he is using data path cycle to refer to a single clock cycle. As in "the amount of time for all the signals to propagate all the way through the data path." Think of it as the amount of time required to perform one micro-instruction.

But Tanenbaum uses a multi-cycle-per-instruction microcoded organization, so the fetch-decode-execute cycle (for instructions rather than microinstructions) usually involves multiple clock cycles.

Best Answer from StackOverflow

Question Source : http://cs.stackexchange.com/questions/30186

3.2K people like this

 Download Related Notes/Documents

0 comments:

Post a Comment

Let us know your responses and feedback