P
P
Ponteley2021-08-20 09:03:31
Circuit design
Ponteley, 2021-08-20 09:03:31

Can it work?

Now I'm reading the book "code: the secret language of computer science" and trying to implement all the examples from there. In chapter 17, a calculator is designed that performs 3-byte commands (the size of one memory cell is 1 byte). The first byte contains the command code, the second byte contains the high part of the address containing the value, the third byte contains the low part of the address. The commands are stored sequentially in memory. It says that the command is executed in three cycles, but I just can’t figure out how to implement it, because in the first cycle the command code is loaded into the latch, in the second cycle the high part of the address is loaded, and in the third cycle, it turns out, the low part of the address should be loaded , the generated 2-byte address must get the value and something must happen to this value. Is it possible to implement this? And what is the best way to do it? Thanks for the answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VT100, 2021-08-20
@Ponteley

the address must get the value and something must happen to this value. Is it possible to implement this?

Perhaps, if the times of double reading from memory and calculation in the ALU do not exceed the period of the clock signal. Approximately yes.
But this implicitly implies that there are signals with times/periods less than the clock signal.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question