13.03.2013 Views

Hacking the Xbox

Hacking the Xbox

Hacking the Xbox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIX D<br />

Getting Started<br />

with FPGAs<br />

Integration is <strong>the</strong> bane of hardware hackers. We like to take things apart,<br />

modify <strong>the</strong>m, and improve <strong>the</strong>m, but <strong>the</strong> trend has been to cram everything<br />

into one or two ASICs (Application Specific Integrated Circuit).<br />

This kind of integration is out of <strong>the</strong> reach of mere mortals, as <strong>the</strong> cost<br />

of a set of masks used for defining <strong>the</strong> features on chips is rapidly<br />

approaching one million dollars. That’s one million dollars per unique<br />

revision of <strong>the</strong> chip. If a mistake is made that requires a new mask set, you<br />

have to spend yet ano<strong>the</strong>r million dollars to fix it.<br />

Fortunately, a million dollars cash upfront for a chip is too much even for<br />

many corporations, and this has created a market for FPGAs — generalpurpose,<br />

programmable (“reconfigurable”) hardware devices that can be<br />

used in place of an ASIC in many applications.<br />

What Is an FPGA?<br />

FPGA stands for field programmable gate array. In o<strong>the</strong>r words, it is an<br />

array of gates that can be programmed in <strong>the</strong> field by end users. You can<br />

think of FPGAs as custom silicon that you can build in <strong>the</strong> comfort of<br />

your own home, although <strong>the</strong> trend toward partial reconfigurability and<br />

context-sensitive reconfiguration adds a dimension to FPGAs that is not<br />

found in ASICs. While ASICs are cheaper per unit in volume, and <strong>the</strong>y<br />

can have much higher clock speed performance, FPGAs have established<br />

<strong>the</strong>mselves as <strong>the</strong> tool of choice for low to moderate volume applications<br />

and for prototyping.<br />

The FPGA’s basic architecture is that of an array of hardware primitives<br />

embedded in a flexible routing network. The power of <strong>the</strong> FPGA comes<br />

from <strong>the</strong> fact that complex computations can be broken down into a

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!