10.07.2015 Views

Tutorial - Using Xilinx System Generator 13.2 for Co-Simulation on ...

Tutorial - Using Xilinx System Generator 13.2 for Co-Simulation on ...

Tutorial - Using Xilinx System Generator 13.2 for Co-Simulation on ...

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.

adder/subtractor block. Select <str<strong>on</strong>g>Xilinx</str<strong>on</strong>g> Blockset→Math→AddSub to place AddSub block. TheAddSub block per<str<strong>on</strong>g>for</str<strong>on</strong>g>ms additi<strong>on</strong> and subtracti<strong>on</strong> operati<strong>on</strong>s <str<strong>on</strong>g>for</str<strong>on</strong>g> two operands. The fixed point <str<strong>on</strong>g>for</str<strong>on</strong>g>matof the output is determined from the inputs <str<strong>on</strong>g>for</str<strong>on</strong>g>mat as shown in Figure 6. <str<strong>on</strong>g>Co</str<strong>on</strong>g>nnect the outputs ofthe two multipliers to the inputs of the Adder. <str<strong>on</strong>g>Co</str<strong>on</strong>g>nnect the adder to the Gateway out module.Figure 6: Adding an Adder/Subtractor3.2 Estimate ResourcesYou can estimate the resources used by the design using the Resource Estimator block with multiplierblock implemented in LUTs/Multipliers with latency set to 2 and 3 by following these steps:1. Double click the <str<strong>on</strong>g>System</str<strong>on</strong>g> <str<strong>on</strong>g>Generator</str<strong>on</strong>g> token and select HDL Netlist <str<strong>on</strong>g>for</str<strong>on</strong>g> <str<strong>on</strong>g>Co</str<strong>on</strong>g>mpilati<strong>on</strong> and set thePart related fields as:• <str<strong>on</strong>g>Co</str<strong>on</strong>g>mpilati<strong>on</strong>: HDL Netlist• Part: Spartan6 xc6slx16-2csg3242. Add the Resource Estimator block from <str<strong>on</strong>g>Xilinx</str<strong>on</strong>g> Tools library (<str<strong>on</strong>g>Xilinx</str<strong>on</strong>g> BlockSet Tools)Figure 7: Resource Estimator Block3. Open the Resource Estimator block (As seen in Figure 7)6

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

Saved successfully!

Ooh no, something went wrong!