
240 Chapter 4
Because the variables are dynamic in nature, the comments for the
storage block should also include information on inflow and outflow
rates, the operation of the pointers, and any other information concern-
ing the access of the data. It is also a very good idea to use functions
to access the data within the data block. This gives the designer the
flexibility to place the information, either in general data storage or
nonvolatile storage, simply by calling a different macro in the function
definitions. Another good reason for this system is that the access and
test routines for the storage will probably look very much like the access ...