Dynamic Power Management of an AMBA AHB System on Chip