About the user defined instruction in APU

Hi, all,

I am using ML410 board and EDK 8.2. I am trying to make a PPC system with APU support. I set the UID_1 register according to the rule described in charpter 4 of PowerPC 405 processor block reference guide, and set the control configuration register to "0x0001". In the software, I define the related user defined instruction 1 as UDIFCM(a, b, c) { udi0fcm(a, b, c) } (the "udi0fcm" is predefined in "xpseudo_asm_gcc.h") and add the "mtmsr(XREG_MSR_APU_AVAILABLE)" in the applicaiton. I simulated the system by using modelsim 6.1c. In the simulation, everytime when the UDIFCM comes, the APU always gives a pulse on the singnal "APUFCMFLUSH", however, the singnals "APUFCMDECUDI, APUFCMDECODED..." which should be "1" when decoding the UID keep "0". It looks like the APU can not recognize the UID. And also the actual value of the instruction does not match the UID register value I set. I tried to use the pre-defined load/store instruction follow the xapp 717, they worked fine. Could anyone give me some hints for the APU-UID? That will appreciated if someone can share his experience!

Regards,

luyi

Reply to
louis
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.