The state register is read-only and returns current state of the design - yellow, red or green. The ctl register contains fields to start the module, and configure it to be in the blink yellow or blink red mode. The design essentially represents a traffic light controller which can be configured by writing into certain control registers. The following design has the following registers and fields that are accessible through an APB interface. Let us see a complete example of how such a model can be written for a given design, how it can be integrated into the environment and how it can be used to write and read into design fields.Ĭlick here to refresh the concept on register models ! Design In the previous few articles, we have seen what a register model is and how it can be used to access registers in a given design.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |