Design Challenges: Avoiding the Pitfalls, winning the game - Xilinx
Design Challenges: Avoiding the Pitfalls, winning the game - Xilinx
Design Challenges: Avoiding the Pitfalls, winning the game - Xilinx
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
see <strong>the</strong> start sequence, it continues<br />
to increment <strong>the</strong> address, step<br />
through <strong>the</strong> remaining valid addresses,<br />
and <strong>the</strong>n wrap around to address<br />
0 until it finds <strong>the</strong> right sequence.<br />
This can result in a prolonged bitstream<br />
load time (<strong>the</strong> bitstream is<br />
eventually loaded).<br />
– Workaround #3 requires prefixing <strong>the</strong><br />
FPGA bitstream with as many as 16<br />
bytes of 0xFF dummy data. This prefix<br />
helps <strong>the</strong> FPGA device find its<br />
start sequence when it reaches <strong>the</strong><br />
address for byte 17, at which time <strong>the</strong><br />
flash would have completed its mode<br />
switching. This workaround involves<br />
<strong>Xilinx</strong> modifying its bitstream generation<br />
code and slightly increases <strong>the</strong><br />
bitstream size. Contact <strong>Xilinx</strong> for <strong>the</strong><br />
availability of this workaround.<br />
O<strong>the</strong>r <strong>Design</strong> Considerations<br />
• Addressing. The Spartan-3E FPGA can<br />
address as much as 256 Mb of flash<br />
memory. When populated, a lower<br />
density flash device can optionally be<br />
stuffed with a higher density flash<br />
device. In this case, <strong>the</strong> unused address<br />
pins on <strong>the</strong> lower density flash device<br />
can be safely connected to <strong>the</strong>ir corresponding<br />
address pins on <strong>the</strong> FPGA.<br />
These unused pins are no-connects on<br />
<strong>the</strong> flash device.<br />
• ConfigRate setting. The initial access<br />
time for J3 Memory ranges from 110<br />
ns to 150 ns, depending on density.<br />
Set <strong>the</strong> FPGA’s maximum CCLK configuation<br />
rate (ConfigRate) setting<br />
appropriately.<br />
• Flash content protection. On J3<br />
Memory, <strong>the</strong> VPEN input can be used<br />
to protect <strong>the</strong> flash memory content.<br />
When <strong>the</strong> VPEN input is driven below<br />
Vpenlk (2.2V), <strong>the</strong> flash content cannot<br />
be altered. If unused, this input can<br />
be tied to 3.3V. Alternatively, it can be<br />
connected to a pin on <strong>the</strong> FPGA, to<br />
allow/disallow flash content alteration.<br />
• Power supply decoupling. When <strong>the</strong><br />
flash device (such as J3 Memory) is<br />
enabled, many internal conditions<br />
change. Circuits are energized, charge<br />
pumps are switched on, and internal<br />
voltage nodes are ramped. Such internal<br />
activities produce transient signals.<br />
To minimize <strong>the</strong>se effects, a 0.1 uF<br />
ceramic capacitor is required across<br />
each VCC/VSS and VCCQ signal.<br />
Place capacitors as close as possible to<br />
<strong>the</strong> device connections.<br />
• FPGA configuration pin re-use. Most<br />
of <strong>the</strong> pins driving <strong>the</strong> flash device<br />
(such as J3 Memory) can be used as<br />
general-purpose I/Os. However, do<br />
not reuse <strong>the</strong> following pins:<br />
– LDC0: Flash chipset enable<br />
– LDC2: Flash byte/word mode control<br />
• Execute-In-Place (XIP). Intel offers a<br />
suite of software that supports XIP,<br />
where code is executed directly out of<br />
<strong>the</strong> flash device (such as J3 Memory) to<br />
reduce <strong>the</strong> external RAM requirement<br />
and power consumption. Software<br />
designs for a soft CPU core can use<br />
such collateral. If <strong>the</strong> XIP usage model<br />
is deployed for <strong>the</strong> CPU code and data,<br />
<strong>the</strong>n <strong>the</strong> VPEN input must be pulled<br />
high. Also, memory blocks containing<br />
flash configuration code and boot code<br />
can be individually locked using a software<br />
command to prevent accidental<br />
programming or erasure.<br />
Conclusion<br />
The addition of a BPI configuration<br />
mode to <strong>the</strong> Spartan-3E device enables<br />
consolidation of FPGA bitstreams and<br />
boot/application code into standard<br />
NOR flash memory. As a result, you can<br />
take advantage of <strong>the</strong> low-cost nature and<br />
wide density ranges of both <strong>the</strong> Spartan-<br />
3E FPGA and <strong>the</strong> Intel StrataFlash J3<br />
NOR memory to cost-effectively target a<br />
wider range of high-volume applications<br />
not achievable with previous generation<br />
Spartan FPGAs.<br />
For more information about J3<br />
Memory, visit www.intel.com/design/<br />
flcomp/prodbref/298044.htm. The <strong>Xilinx</strong><br />
Spartan-3E FPGA Family Complete<br />
Datasheet is available at http://direct.<br />
xilinx.com/bvdocs/publications/ds312.pdf.<br />
CONNECTIVITY<br />
Let <strong>Xilinx</strong> help<br />
you get your<br />
message out to<br />
thousands of<br />
programmable<br />
logic users<br />
worldwide.<br />
That’s right ... by advertising<br />
your product or service in <strong>the</strong><br />
<strong>Xilinx</strong> Xcell Journal, you’ll reach<br />
more than 70,000 engineers,<br />
designers, and engineering<br />
managers worldwide.<br />
The <strong>Xilinx</strong> Xcell Journal is an<br />
award-<strong>winning</strong> publication,<br />
dedicated specifically<br />
to helping programmable<br />
logic users – and it works.<br />
We offer affordable advertising<br />
rates and a variety of advertisement<br />
sizes to meet any budget!<br />
Call today :<br />
(800) 493-5551<br />
or e-mail us at<br />
xcelladsales@aol.com<br />
Join <strong>the</strong> o<strong>the</strong>r leaders<br />
in our industry and advertise<br />
in <strong>the</strong> Xcell Journal!<br />
Third Quarter 2005 Xcell Journal 75<br />
R