14.01.2015 Views

Tutorial Xilinx Virtex-5 FPGA ML506 Edition

Tutorial Xilinx Virtex-5 FPGA ML506 Edition

Tutorial Xilinx Virtex-5 FPGA ML506 Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

In the define module screen change the architecture name to 'sop_arch' for sum-of-products<br />

architecture. We have two inputs, a and b, each two bits wide and one output 'agreatb'. Click<br />

Next and Finish.<br />

<strong>Xilinx</strong> should now have created a VHDL template for use to write our code in. If you don't<br />

see it double click on the file 'greater_2bit – sop_arch' in the hierarchy window.<br />

Change the architecture definition to this:<br />

architecture sop_arch of greater_2bit is<br />

begin<br />

signal p0, p1, p2 : std_logic;<br />

agreatb

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

Saved successfully!

Ooh no, something went wrong!