source: Documentation/Tutorials/XPS_Intro/html/sections/XPS_Intro_-_Implementing_the_hardware_platform.html

Last change on this file was 1446, checked in by sgupta, 14 years ago

updated tutorial with support for v4

  • Property svn:mime-type set to text/html
File size: 8.1 KB
RevLine 
[952]1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5    <meta name="generator" content="ScreenSteps http://www.screensteps.com/" />
6    <title>XPS Intro - Implementing the hardware platform</title>
7    <link href="../neutral.css" media="screen" rel="stylesheet" type="text/css" />
8</head>
9
10<body class="lucida">
11    <div id="wrapper">     
12        <div id="header">
13            <a id="logo" href="http://warp.rice.edu/trac/"><img src="http://warp.rice.edu/images/warpLogo.jpg" alt="Rice University WARP - Wireless Open-Access Research Platform" height="45" width="285" /></a>
14        </div>
15    <div id="mainnav" class="nav">
16        <ul>
17            <li class="first active"><a href="/trac/wiki">Home</a></li><li><a href="/forums">Forums</a></li><li><a href="/trac/browser">Browse Source</a></li>
18        </ul>
19    </div>
20        <div id="LessonContent">
21            <div class="LessonHeader">
22                <h1 class="LessonTitle">XPS Intro - Implementing the hardware platform</h1>
23            </div>
[970]24                <div class="summary">
25        <p>This section goes over the basic steps to create the hardware bitstream.</p>
26    </div>
[952]27           
28                <div id="step_1" class="lessonStep top">
29       
30        <div class="image">
31<a href="images/XPS_Intro_-_Implementing_the_hardware_platform/SysAssemblyView_labeled_lg.png" class="image" target="_blank"><img src="images/XPS_Intro_-_Implementing_the_hardware_platform/SysAssemblyView_labeled.png" width="580" height="286"></a>
32<div class="caption"><a href="images/XPS_Intro_-_Implementing_the_hardware_platform/SysAssemblyView_labeled_lg.png" target="_blank">Zoom</a></div>
33</div> <p>The main XPS window is divided into three primary areas:</p>
34
35
[1446]36<p><strong>Platform Files</strong>: This pane lists the files which describe your project. It also lists the configuration files used to drive the hardware implementation processes. There are three panes for this view:<br />
37<strong>  &bull; Project: </strong>Lists the EDK files which describe your hardware (MHS/UCF) and software (MSS) projects. It also lists configuration files which drive the back-end tools.<br />
38<strong>  &bull; Applications: </strong>Lists your software applications (used below).<br />
[952]39<strong>  &bull; IP Catalog:</strong> This view lists all of the peripheral cores available to build your hardware platform. These cores are drawn from Xilinx-provided cores distributed with the EDK, WARP-supplied cores and cores of your own design. </p>
40
41
[1446]42<p><strong>System Assembly View:</strong><br />
43The hardware design is composed of multiple processor, bus and peripheral cores. Each core is listed in this pane. The system assembly view pane has three displays:<br />
44<strong>  &bull; Bus Interfaces</strong>: Lists each core's bus connectivity. Some cores are attached to the PLB; some (like clock_generator_0) are not attached to any bus.<br />
45<strong>  &bull;&nbsp;Ports:</strong> In addition to bus interfacs, some cores have core-to-core connections in hardware. Each core's top-level ports and their connections are shown in this view <br />
[952]46<strong>  &bull;&nbsp;Addresses</strong>: Peripherals with bus connections are mapped into the address space of the PowerPC processor. This view configures the address space for each core.</p>
47
48
49<p><strong>Log Viewer:</strong> XPS uses many back-end tools to synthesize hardware and compile software. This viewer displays the output as these tools run. This is where to look for error messages if your build fails.</p>
50    </div>
51    <div class="clear"></div>
52    <div id="step_2" class="lessonStep top">
53       
54        <div class="image">
[1446]55<a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1265824217494_lg.png" class="image" target="_blank"><img src="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1265824217494.png" width="580" height="249"></a>
56<div class="caption"><a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1265824217494_lg.png" target="_blank">Zoom</a></div>
57</div> <p>Skip this step if you are using FPGA Board v1.2. As the FPGAv2 uses the Clock Board to drive the FPGA, the DCM must be held in reset while the Clock Board is being configured. To make this possible connect 'config_invalid' on the clock_board_config to the RST port of clock_generator_0, as shown above.</p>
58    </div>
59    <div class="clear"></div>
60    <div id="step_3" class="lessonStep top">
61       
62        <div class="image">
63<a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1265824296149_lg.png" class="image" target="_blank"><img src="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1265824296149.png" width="580" height="170"></a>
64<div class="caption"><a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1265824296149_lg.png" target="_blank">Zoom</a></div>
65</div> <p>Skip this step if you are using FPGA Board v1.2. In this project we also enabled the radio_bridge peripheral to allow the hardware and software to talk to the Radio Board. However, the clock that is available to the Radio Board must also be available the radio_bridge peripheral. To enable this, connect 'converter_clock_in' on radio_bridge_slot_2 to 'sys_clk_s'.</p>
66    </div>
67    <div class="clear"></div>
68    <div id="step_4" class="lessonStep top">
69       
70        <div class="image">
[952]71<a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1215633920202_lg.png" class="image" target="_blank"><img src="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1215633920202.png" width="580" height="324"></a>
72<div class="caption"><a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1215633920202_lg.png" target="_blank">Zoom</a></div>
73</div> <p>Switch to the Address view in the System Assembly View panel. Click <strong>Generate Addresses</strong>; the log viewer will display the auto-generated address map for your PowerPC processor.</p>
74    </div>
75    <div class="clear"></div>
[1446]76    <div id="step_5" class="lessonStep top">
[952]77       
78        <div class="image">
79<a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1215634025193_lg.png" class="image" target="_blank"><img src="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1215634025193.png" width="580" height="326"></a>
80<div class="caption"><a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1215634025193_lg.png" target="_blank">Zoom</a></div>
[973]81</div> <p>From the <strong>Hardware</strong> menu, select <strong>Generate Bistream</strong>. This will initiate the hardware synthesis process. The EDK will use tools from Xilinx ISE to synthesize the VHDL description of each peripheral, apply timing and I/O constraints, map the design into hardware and generate an FPGA configuration file (the bitstream). This process will take a few minutes, depending on the speed of your PC.</p>
[952]82    </div>
83    <div class="clear"></div>
[1446]84    <div id="step_6" class="lessonStep top">
[952]85       
86        <div class="image">
87<a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1215634981586_lg.png" class="image" target="_blank"><img src="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1215634981586.png" width="580" height="324"></a>
88<div class="caption"><a href="images/XPS_Intro_-_Implementing_the_hardware_platform/media_1215634981586_lg.png" target="_blank">Zoom</a></div>
[973]89</div> <p>When the log viewer displays <strong>Bitstream generation is complete</strong>, the hardware platform is fully synthesized and ready for use. Several warnings will come up during the synthesis but if <strong>Done!</strong> appears then the generation is complete. If not, then errors were thrown and need to be investigated.</p>
90
91
92<p>The next section describes how to create a software project which runs on this hardware design.</p>
[952]93    </div>
94    <div class="clear"></div>
95
96        </div>
97        <div id="lessonNavigation">
98            <table>
99                <tr>
[1446]100                    <td class="lessonNav_Left"><a href="Base_System_Builder_-_FPGA_Board_v2.html">&lt;&lt; Base System Builder - FPGA Board v2.2</a></td>
[952]101                    <td class="lessonNav_TOC"><a href="../XPS_Intro.html">Top</a></td>
102                    <td class="lessonNav_Right"><a href="XPS_Intro_-_Implementing_the_software_design.html">XPS Intro - Implementing the software design &gt;&gt;</a> </td>
103                </tr>
104            </table>
105        </div>
106    </div> 
107</body>
108</html>
Note: See TracBrowser for help on using the repository browser.