
Orange Tree Technologies
Page 32 of 57
ZESTSC1_CARD_INFO Info;
/* Open a card with ID of 1 */
ZestSC1OpenCard(1, &Handle);
/* Obtain information about the card */
ZestSC1GetCardInfo(Handle, &Info);
/* Perform action based on FPGAType */
if (Info.FPGAType==ZESTSC1_XC3S400)
ZestSC1ConfigureFromFile(Handle, “file400.bit”);
else if (Info.FPGAType== ZESTSC1_XC3S1000)
ZestSC1ConfigureFromFile(Handle, “file1000.bit”);
else
printf(Illegal FPGA type\n”);
Komentáře k této Příručce