Files
2026-01-03 19:05:48 +01:00

318 lines
16 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Block Diagram</title>
<meta name="generator" content="BBEdit 6.0">
<script language="JavaScript">
<!--
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
// -->
</script>
</head>
<body bgcolor="white" OnLoad="na_preload_img(false, 'images/ChipSel.gif');">
<table border="0" cellpadding="0" cellspacing="0" width="90%" align="center">
<tr valign="top">
<td colspan="1" align="left">
<p align="center"><font face="Verdana,Arial" size="2" color="black"><b><a name="BlockDiagram"></a>Block
Diagram&nbsp;</b></font></p>
</td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<p>
<font face="Verdana,Arial" size="1" color="black"><br>The
first tab page presents a block diagram representing the logical
connection&nbsp;of the FX/FX2 to an attached slave device.&nbsp;The
configuration of this diagram controls the parameters available
during creation of the four waveform descriptors (on the next&nbsp;4
tab pages).<br><br></font>
<p align="center"><img src="images/BlkDiag.gif" width="432" height="327" border="0"></p>
<p align="left"><font face="Verdana,Arial" size="1" color="black"><br>For
instance, the number of CTL lines available when creating a waveform
is configured using the block diagram. <br><br>Only one block diagram
is saved in any GPIF Designer project file (*.GPF).<br><br>Once
waveforms have been designed, changing the block diagram may give
rise to undesired changes in&nbsp;the waveforms. &nbsp;For this
reason, it is highly recommended that <b>the first step</b> in designing
GPIF&nbsp;waveforms be the <b>proper configuration of the Block
Diagram</b>.<br><br></font></p>
</td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<font face="Verdana,Arial" size="1" color="black"><b><a name="Chip"></a>Chip
Selection</b></font> </td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<p>
<font face="Verdana,Arial" size="1" color="black">The
first step in configuration of the block diagram should be to
designate the Cypress FX/FX2 chip and pin-package for which
you will be designing.</font>
<p><font face="Verdana,Arial" size="1" color="black">The large,
blue, left rectange represents the FX/FX2 chip. &nbsp;Right-click
in the main body of that rectangle to bring-up the chip-selection
dialog box.<br>
</font></p>
<p align="center"><a href="#" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', 'images/ChipSel.gif', true);"><font face="Verdana" size="1" color="black"><img src="images/ChipSel.gif" width="432" height="327" border="0" name="image1"></font></a></p>
<p><font face="Verdana,Arial" size="1" color="black">Changing
chips, after waveforms have already been configured, will not
erase those waveforms. &nbsp;However, because the available
CTL and RDY lines may have changed, those waveforms may no longer
represent what the designer had in mind. &nbsp;If you change
chips after having designed waveforms, you should re-visit each
waveform (paying special attention to STATUS and CTL Action
Points) to verify their correctness.<br>&nbsp;</font></p>
</td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<font face="Verdana,Arial" size="1" color="black"><b><a name="Slave"></a>Slave
Labeling</b></font> </td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<p>
<font face="Verdana,Arial" size="1" color="black">The
large, blue, right rectangle represents the device attached
to the FX/FX2 chip. &nbsp;The label of this device can be modified
by right-clicking in the main body of the rectangle.</font>
<p><font face="Verdana,Arial" size="1" color="black">The label
of the slave block has no impact whatever on the waveform generation.
&nbsp;It is provided as a matter of convenience only. &nbsp;The
label is saved, along with the block diagram, in GPIF Designer
project files (*.GPF).<br>&nbsp;</font></p>
</td>
</tr>
<tr valign="top">
<td colspan="1" align="left" height="13">
<font face="Verdana,Arial" size="1" color="black"><b><a name="Clock"></a>Clock
Settings</b></font> </td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<p align="left">
<font face="Verdana,Arial" size="1" color="black">Right-click
on the Clock display area of the block diagram to bring-up the
Clock Properties dialog box.</font>
<p align="center"><font face="Verdana,Arial" size="1" color="black"><br><img src="images/ConfigClk.gif" width="432" height="327" border="0">&nbsp;</font></p>
<p><font face="Verdana,Arial" size="1" color="black">The <b>Internal
/ External</b> radio buttons of the dialog control the setting
of the IFCLKSRC bit (b7) of the IFCONFIG register.</font></p>
<p><font face="Verdana,Arial" size="1" color="black">The <b>Invert
Clock</b> checkbox (FX2 only) controls the setting of the IFCLKPOL
bit (b4) of the IFCONFIG register.</font></p>
<p><font face="Verdana,Arial" size="1" color="black">The <b>IFCLK
Output</b> checkbox (FX2 only) controls the setting of the IFCLKOE
bit (b5) of the IFCONFIG register.</font></p>
<p><font face="Verdana,Arial" size="1" color="black">The <b>30MHz
/ 48MHz </b>radio buttons (only available if Internal clock
is selected) control the setting of the 3048MHZ bit (b6) of
the IFCONFIG register.</font></p>
<p align="center"><font face="Verdana,Arial" size="1" color="black"><img src="images/ConfigClk2.gif" width="432" height="327" border="0">&nbsp;</font></p>
<p><font face="Verdana,Arial" size="1" color="black">When
External Clock is selected, the <b>Clock Frequency</b> is only
used
to calculate the DeltaT displayed on the waveform editor tab
pages. &nbsp;This setting has no impact on the GPIF waveform
descriptor data that is exported to a GPIF.c file. &nbsp;Rather,
it is useful to correctly depict time intervals during waveform
editing.<br>&nbsp;</font></p>
</td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<font face="Verdana,Arial" size="1" color="black"><b><a name="DataBus"></a>Data
Bus&nbsp;Selection</b></font> </td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<p>
<font face="Verdana,Arial" size="1" color="black">The
second black data band, labelled Data [15:8], can be visually
enabled and disabled by right-clicking on that band.<br><br>This
setting has no impact on any of the rest of the program or on
the waveform descriptor data generated using the Tools | Export
function.<br>&nbsp;</font> </td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<font face="Verdana,Arial" size="1" color="black"><b><a name="ADRLines"></a>ADR
Line Configuration</b></font> </td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<p>
<font face="Verdana,Arial" size="1" color="black">Right-click
on the group of ADR lines to bring-up the Config ADR Lines dialog
box. &nbsp;The dialog enables individual or group selection
of the address lines.<br><br>Like the Data Bus control, these
settings have no implact on the rest of the program or on the
waveform descriptor data generated by the Tools | Export function.
&nbsp;They serve only to provide a visual reminder of the actual
hardware application for which the waveform descriptors were
designed.<br>&nbsp;</font> </td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<font face="Verdana,Arial" size="1" color="black"><b><a name="RDYLines"></a>RDY
Line Configuration</b></font> </td>
</tr>
<tr valign="top">
<td colspan="1" align="left" height="464">
<p>
<font face="Verdana,Arial" size="1" color="black">The
RDY lines are used in the definition of </font><a href="WavefmEditors.htm#Status_APs"><font face="Verdana,Arial" size="1" color="black">STATUS
Action Points</font></a><font face="Verdana,Arial" size="1" color="black">
(also known as Decision Points) in the waveform editors. &nbsp;The names
of the selected RDY lines are presented in the list of operands
for a decision point. &nbsp;So, the proper configuration of
the RDY lines is important.<br><br>To bring-up the Config RDY
Lines dialog, right click on any of the block diagram's RDY lines.</font>
<p align="center"><img src="images/ConfigRDY.gif" width="432" height="327" border="0"></p>
<p align="left"><font face="Verdana,Arial" size="1" color="black"><br><br>The
internal <b>FIFO Flag</b> is always available in the list of
operands for a decision point. &nbsp;This dialog only allows
you to change the name for this status line that will appear
in the operand list. &nbsp;[When defining a waveform decision
point, selection of the FIFO Flag operand will generate a value
of 6&nbsp;in the respective TERMA or TERMB&nbsp;fields of the
LOGIC FUNCTION&nbsp;register for the state instruction.]<br><br>The
<b>Internal RDY</b> line&nbsp;is always available in the list
of operands for a decision point. &nbsp;This dialog only allows
you to change the name for this status line that will appear
in the operand list. &nbsp;[When defining a waveform decision
point, selection of the Internal RDY operand will generate a
value of 7&nbsp;in the respective TERMA or TERMB&nbsp;fields
of the LOGIC FUNCTION&nbsp;register for the state instruction.]<br><br>The
<b>Init val of Internal RDY</b> radio buttons control the initial
value of the Internal RDY status line. &nbsp;[They designate
the initial value of the INTRDY bit (b7) of the GPIFREADYCFG
register.]<br><br>Check the <b>Sync RDY to IFCLK</b> box if
the RDY signals are synchronized to the internal clock signal.
&nbsp;[Checking this box causes the SAS bit (b6) of GPIFREADYCFG
to be set to 1.]<br><br>The transaction counter (TC) can be
substituted for RDY line #5. &nbsp;Check the <b>Subst TC for
RDY 5</b> checkbox to implement the substitution. &nbsp;When
this box is checked, RDY 5 becomes permanently available in
the list of decision point operands. &nbsp;When the <b>Subst
TC for RDY 5</b> box is checked, the program places a default
label of TCXpire for line #5. &nbsp;This label can be modified,
even though RDY line #5 cannot be de-selected. &nbsp;[Checking
this box sets the TCXRDY5 bit (b5) of the GPIFREADYCFG register
to 1.]<br><br>The <b>External Inputs</b> can all be individually
selected and labelled. &nbsp;Only the labels for selected lines
are presented in the list of operands for a decision point.
&nbsp;[When defining a waveform decision point, selection of
the External Input&nbsp;RDY lines as an operand will generate
a value between 0 and 5&nbsp;in the respective TERMA or TERMB&nbsp;fields
of the LOGIC FUNCTION&nbsp;register for the state instruction.]<br>&nbsp;</font></p>
</td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<font face="Verdana,Arial" size="1" color="black"><b><a name="CTLLines"></a>CTL
Line Configuration</b></font> </td>
</tr>
<tr valign="top">
<td colspan="1" align="left">
<p>
<font face="Verdana,Arial" size="1" color="black">To
configure the CTL lines, right click on any of the block diagram's CTL lines.</font>
<p align="center"><img src="images/ConfigCTL.gif" width="432" height="327" border="0"></p>
<p><font face="Verdana,Arial" size="1" color="black">The <b>Lines
Can Be Tri-Stated?</b> radio buttons significantly impact the
options available for CTL lines in both the block diagram and
the waveform editors. &nbsp;If the lines can be tri-stated,
a maximum of 4 CTL lines are available (3 for the 56-pin FX2).
&nbsp;Also, tri-stateable lines cannot be configured for Open-drain
output. [These Tri-Stated? radio buttons control the value of
the TRICTL bit (b7) of the GPIFCTLCFG register.]<br><br>Once
the <b>Lines Can Be Tri-Stated?</b> selection has been made,
the CTL lines to be used should be selected and labelled. &nbsp;Only
selected lines will be displayed and actionable in the waveform
editors.<br><br></font><a href="WavefmEditors.htm#CTRL_APs"><font face="Verdana,Arial" size="1" color="black">CTL Action Points</font></a><font face="Verdana,Arial" size="1" color="black"> placed on the waveforms
have 2 or 3 available actions, depending on whether or not the
lines have been configured as&nbsp;tri-stateable here.<br><br>If
the lines cannot be tri-stated, select the output (<b>CMOS vs
Open-drain</b>) for each line. &nbsp;[Bits 0-5 of GPIFCTLCFG
register are set to 1, for the respective CTL lines, if Open-drain
is selected. &nbsp;Selecting CMOS sets the respective bits to
0.]</font></p>
</td>
</tr>
</table>
<p><font face="Verdana" size="1" color="black">&nbsp;</font></p>
</font>
</body>
</html>