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 - Getting Started with FPGAs 241<br />

For example, a single clocked storage element (a flip-flop) in Verilog is a<br />

“process” that typically has a structure similar to this:<br />

input inData; // declare your inputs and outputs<br />

input clock;<br />

reg bitOfStorage; // declare <strong>the</strong> storage bit as a reg<br />

type<br />

always @(posedge clock) begin<br />

bitOfStorage

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

Saved successfully!

Ooh no, something went wrong!