When you implement an ASIC or ASSP, there are usually a number of memory-mapped peripherals and areas of external and internal RAM, ROM, and flash, for example.
The Memory Map Decode (MMD) outputs allow simple, low-cost decoding of this address map using ASIC-specific logic. This logic drives the MMDIN inputs to the ETM, making them available to you as ETM resources, in a similar way to the address comparator and address range comparator resources.
The structure of the MMD logic is shown in Figure 4.1.
In Figure 4‑1, Other signals are:
If no MMD logic is implemented, you must tie the MMDIN inputs to ground. The MMDCTRL bus comes from the memory map decode control register in the ETM, programmed by the Trace debug tools. These allow you to specify the value to be programmed into this 8-bit register.