| |||
| Home > The Cycle Accurate Debug Interface > Defining a CADI interface > The CADI class constructor |
You can define in the constructor the number of registers you have and the property of your memory spaces.
One change that must be made for every CADI interface is to use the proper component class in the constructor’s parameter list to store a local pointer to the component class. This enables accessing the resources of this component when the read/write functions for registers or memory are called.