CLEARMEM attribute

Top  Previous  Next

The CLEARMEM attribute can be used in either PROCTYPE or PROCESSOR declarations to cancel the effect of any outstanding MEM attributes so that accumulation of memory information can start afresh. For example:

 

proctype t1 tms320c6201                    !no memory blocks

proctype t2 t1 mem=0x00400000:1M           !1 memory block

proctype t3 t2 mem=0xc0000000:1M clock=300 !2 memory blocks

proctype t4 t3 clearmem mem=0x00400000:1M  !1 memory block, not 3

 

This attribute's main use is in defining large families of related processor types.