Line 1... |
Line 1... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!--NewPage-->
|
<!--NewPage-->
|
<HTML>
|
<HTML>
|
<HEAD>
|
<HEAD>
|
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
|
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
|
<TITLE>
|
<TITLE>
|
Ztex1v1
|
Ztex1v1
|
</TITLE>
|
</TITLE>
|
|
|
<META NAME="date" CONTENT="2011-07-18">
|
<META NAME="date" CONTENT="2012-04-12">
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
|
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
function windowTitle()
|
function windowTitle()
|
Line 186... |
Line 186... |
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">6</td>
|
<td bgcolor="#ffffff" valign="top">6</td>
|
<td bgcolor="#ffffff" valign="top">INIT_B states.</td>
|
<td bgcolor="#ffffff" valign="top">INIT_B states.</td>
|
</tr>
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">7</td>
|
|
<td bgcolor="#ffffff" valign="top">Flash configuration result.</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">8</td>
|
|
<td bgcolor="#ffffff" valign="top">Flash Bitstreambit order (1=swapped).</td>
|
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VC 0x31</td>
|
<td bgcolor="#ffffff" valign="top">VC 0x31</td>
|
Line 419... |
Line 427... |
</td>
|
</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">0.7</td>
|
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
|
Multi-FPGA support<p>
|
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
|
<tr>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">VR 0x50</td>
|
|
<td bgcolor="#ffffff" valign="top">Return multi-FPGA information:
|
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
|
<tr>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">0</td>
|
|
<td bgcolor="#ffffff" valign="top">Number of FPGA's - 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">1</td>
|
|
<td bgcolor="#ffffff" valign="top">Selected FPGA - 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">2</td>
|
|
<td bgcolor="#ffffff" valign="top">Parallel configuration support (0:no, 1:yes)</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">VC 0x51</td>
|
|
<td bgcolor="#ffffff" valign="top">Parameters:
|
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
|
<tr>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Parameter</b></td>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">index</td>
|
|
<td bgcolor="#ffffff" valign="top">Select command<br> 0: Select single FPGA <br> 1: Select all FPGA's for configuration</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">value</td>
|
|
<td bgcolor="#ffffff" valign="top">FPGA to select - 1</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
</table>
|
</table>
|
<P>
|
<P>
|
|
|
<P>
|
<P>
|
<DL>
|
<DL>
|
Line 488... |
Line 550... |
Capability index for AVR XMEGA support.</TD>
|
Capability index for AVR XMEGA support.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE>static int</CODE></FONT></TD>
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_MULTI_FPGA">CAPABILITY_MULTI_FPGA</A></B></CODE>
|
|
|
|
<BR>
|
|
Capability index for multi FPGA support</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Capability index for AVR XMEGA support.</TD>
|
Capability index for AVR XMEGA support.</TD>
|
</TR>
|
</TR>
|
Line 527... |
Line 597... |
<BR>
|
<BR>
|
Checksum of the last EEPROM transfer.</TD>
|
Checksum of the last EEPROM transfer.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#enableExtraFpgaConfigurationChecks">enableExtraFpgaConfigurationChecks</A></B></CODE>
|
|
|
|
<BR>
|
|
Enables extra FPGA configuration checks.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE>static int</CODE></FONT></TD>
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_BUSY">FLASH_EC_BUSY</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_BUSY">FLASH_EC_BUSY</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals that Flash memory it busy.</TD>
|
Signals that Flash memory it busy.</TD>
|
Line 1058... |
Line 1136... |
<BR>
|
<BR>
|
Reads MAC address from MAC EEPROM.</TD>
|
Reads MAC address from MAC EEPROM.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#numberOfFpgas()">numberOfFpgas</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the number of FPGA's</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printFpgaState()">printFpgaState</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printFpgaState()">printFpgaState</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Prints out the FPGA state.</TD>
|
Prints out the FPGA state.</TD>
|
Line 1082... |
Line 1168... |
<BR>
|
<BR>
|
Resets the FPGA.</TD>
|
Resets the FPGA.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#selectFpga(int)">selectFpga</A></B>(int num)</CODE>
|
|
|
|
<BR>
|
|
Select a FPGA</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#toString()">toString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#toString()">toString</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns a lot of useful information about the corresponding device.</TD>
|
Returns a lot of useful information about the corresponding device.</TD>
|
Line 1384... |
Line 1478... |
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MAC_EEPROM">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MAC_EEPROM">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="CAPABILITY_MULTI_FPGA"><!-- --></A><H3>
|
|
CAPABILITY_MULTI_FPGA</H3>
|
|
<PRE>
|
|
public static final int <B>CAPABILITY_MULTI_FPGA</B></PRE>
|
|
<DL>
|
|
<DD>Capability index for multi FPGA support
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MULTI_FPGA">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="capabilityStrings"><!-- --></A><H3>
|
<A NAME="capabilityStrings"><!-- --></A><H3>
|
capabilityStrings</H3>
|
capabilityStrings</H3>
|
<PRE>
|
<PRE>
|
public static final java.lang.String[] <B>capabilityStrings</B></PRE>
|
public static final java.lang.String[] <B>capabilityStrings</B></PRE>
|
<DL>
|
<DL>
|
Line 1396... |
Line 1502... |
<DL>
|
<DL>
|
</DL>
|
</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="enableExtraFpgaConfigurationChecks"><!-- --></A><H3>
|
|
enableExtraFpgaConfigurationChecks</H3>
|
|
<PRE>
|
|
public boolean <B>enableExtraFpgaConfigurationChecks</B></PRE>
|
|
<DL>
|
|
<DD>Enables extra FPGA configuration checks. Certain Bistream settings may cause false warnings.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="eepromBytes"><!-- --></A><H3>
|
<A NAME="eepromBytes"><!-- --></A><H3>
|
eepromBytes</H3>
|
eepromBytes</H3>
|
<PRE>
|
<PRE>
|
public int <B>eepromBytes</B></PRE>
|
public int <B>eepromBytes</B></PRE>
|
<DL>
|
<DL>
|
Line 3104... |
Line 3222... |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than 6 bytes.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than 6 bytes.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="numberOfFpgas()"><!-- --></A><H3>
|
|
numberOfFpgas</H3>
|
|
<PRE>
|
|
public int <B>numberOfFpgas</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE>
|
|
<DL>
|
|
<DD>Returns the number of FPGA's
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>number of FPGA's
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectFpga(int)"><!-- --></A><H3>
|
|
selectFpga</H3>
|
|
<PRE>
|
|
public void <B>selectFpga</B>(int num)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Select a FPGA
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>num</CODE> - FPGA to select. Valid values are 0 to <A HREF="../ztex/Ztex1v1.html#numberOfFpgas()"><CODE>numberOfFpgas()</CODE></A>-1
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If FPGA number is not in range.</DL>
|
|
</DD>
|
|
</DL>
|
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ========= END OF CLASS DATA ========= -->
|
<HR>
|
<HR>
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|