21.04.2014 Views

Floating Point Vector Processing on an FPGA

Floating Point Vector Processing on an FPGA

Floating Point Vector Processing on an FPGA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Program Flow<br />

PowerPC_main ()<br />

{<br />

1. Start PowerPC timer();<br />

2. Write kernel parameter to FPVC’s<br />

local data RAM;<br />

3. C<strong>on</strong>figure <strong>an</strong>d enable FPVC DMA for<br />

FPVC instructi<strong>on</strong> load;<br />

4. Wait until FPVC completes executi<strong>on</strong>;<br />

5. Stop PowerPC timer();<br />

}<br />

FPVC_main()<br />

{<br />

wait for instructi<strong>on</strong> load;<br />

load data;<br />

compute kernel();<br />

store result;<br />

HALT FPVC;<br />

}

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

Saved successfully!

Ooh no, something went wrong!