How Data gets updated to register model during auto-predict = 1 ? Confused how/who updates it!

In reply to desperadorocks:

What do you mean by “before read is done”?

The way it should work is:

  1. Register model calls adapter
  2. Adapter converts reg item to bus item
  3. Bus item is started on bus sequencer and sent to bus driver
  4. Bus driver drives signals according to protocol (write, address, etc.)
  5. Bus driver collects response and passes it up
  6. Register model uses response for update

By “bus driver collects response” I mean, for example, collecting the read data in case of read operation. This can be done in two ways. The easiest way is for the driver to update the ‘data’ field inside the item it got from the sequencer. The more complicated way is to send a separate response object. If this is the case, the adapter has to know this, by setting its ‘provides_responses’ field.

Depending on which one you have implemented, make sure that the driver properly sends back the response information.