Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the value stored in contr_status register?

REGISTER stored value
0
Posted

What is the value stored in contr_status register?

0

When the controller simulation does its thing (either r/w to disk or r/w to memory), it is going to get a return status (which is presented to your simulation as the return value of the C call to the memory or disk). This is what has to be put into the contr_status register before interrupting the processor. The point is the processor code can look at this status register to know the result of the command it just gave to the controller. You should have of course a contr_status register and representation in the datapath as to how the return values from the interface function calls to the disk and memory get to this status register and a control signal for latching the register. • What needs to happen in the SEEK FSM? Answer: You get into the state for that FSM, do the seek interface call using the contents of the controller registers which have been set by the processor (the call happens instantaneously from the point of view of your state machine), get the status and latch it into the

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123