On the PC interface, why do we need a reset pin?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

On the PC interface, why do we need a reset pin?

DiogoNeves
Couldn't we achieve the same behaviour by setting in to 0 and load to 1?

Is the reset pin just a convenience or is there another reason for it?

What should happen if I set both the reset and load pins to 1? Which one overrules the other?
Reply | Threaded
Open this post in threaded view
|

Re: On the PC interface, why do we need a reset pin?

cadet1620
Administrator
DiogoNeves wrote
Couldn't we achieve the same behaviour by setting in to 0 and load to 1?

Is the reset pin just a convenience or is there another reason for it?

What should happen if I set both the reset and load pins to 1? Which one overrules the other?
Yes, you can effect reset by loading 0, but it would take additional logic outside the PC.  In general, counters get used for a lot more jobs than just program counter, and it is better to have the reset ability designed into the counter.

The nested if statements in the description tell you which has priority.

--Mark
Reply | Threaded
Open this post in threaded view
|

Re: On the PC interface, why do we need a reset pin?

DiogoNeves
Sorry for the late response.

Thanks a lot for your answer :) I guess I will understand this better as I go.