- tms-old
- tms
- tmsPuServer
- CodeBits.cpp
This file ( 534B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
#ifdef ZAP
{
int data;
// Reset Local bus
data = 1;
ADMXRC2_Write(ofpgaCard,ADMXRC2_IOWIDTH_32,ADMXRC2_IOADAPTER,0x28,&data,4);
data = 0;
ADMXRC2_Write(ofpgaCard,ADMXRC2_IOWIDTH_32,ADMXRC2_IOADAPTER,0x28,&data,4);
sleep(1);
}
#endif
printf("FPGA: LOCKED: %x\n", ofpga[LOCKED]);
#ifdef ZAP
printf("Reset DCM\n");
ofpga[LOCKED] = 1;
usleep(100000);
ofpga[LOCKED] = 0;
usleep(2000000);
#endif
#ifdef ZAP
printf("Reset SDRAM\n");
ofpga[LOCKED] = 2;
usleep(100000);
ofpga[LOCKED] = 0;
usleep(2000000);
#endif