I finished functions of AGDI in our chip. But our chip's peripherals are difference with standard 8051s'. How to create or modify the peripherals in the AGDI. Plase give me some advice.