Xilinx ML403 Using ChipScope with OPB IIC, Invoke XPS. Run Hardware → Generate Netlist

Page 18

Using ChipScope with OPB IIC

R

Using ChipScope with

OPB IIC

To facilitate the use of ChipScope to analyze OPB IIC hardware, the iic.cdc file is included in the ml403_ppc_opb_iic/chipscope directory. The iic.cdc is used to insert a ChipScope ILA core into the opb_iic core. The following steps are used to insert a core and analyze OPB IIC problems with ChipScope.

1.Invoke XPS. Run Hardware Generate Netlist.

2.In the iic.cdc file, change the path <design_directory> name to the directory in which the design files are installed. Three paths need to be changed.

3.Run Start Programs ChipScope Pro ChipScope Inserter

4.From ChipScope Inserter, run File Open Project ii.cdc. Figure 22 shows the ChipScope Inserter setup GUI.

X979_22_012907

Figure 22: ChipScope Inserter Setup

XAPP979 (v1.0) February 26, 2007

www.xilinx.com

18

Image 18
Contents Summary Included SystemsIntroduction IIC PrimerIntroduction Data Transfer on the IIC Bus Reference System Specifics Reference System SpecificsOPB IIC Registers Address ML403 XC4VFX12 Address MapOPB IIC Registers OPB IIC Control Register Bits Name DescriptionStatus Register SR Status Register Bit Definitions Contd Configuring the OPB IIC Core Microchip 24LC04ML40x Schematic for IIC Connections 24LC04 Control Byte AllocationML40x Resistors Expansion Header TotalPhase Aardvark Adapter Fpga IIC PinsAardvark Control Center Executing the Reference System from EDK Software ProjectsProjects interfacing to Aardvark Adapter Running the Applications Running the ApplicationsProject HyperTerminal Parameters Using ChipScope with OPB IIC Invoke XPS. Run Hardware → Generate NetlistRun Start → Programs → ChipScope Pro → ChipScope Inserter Making Net Connections in ChipScope Inserter Start → Programs → ChipScope Pro → ChipScope Pro AnalyzerSetting Up the Chipscope Trigger Linux Kernel Linux KernelBSP Settings Connected Peripherals Simulation SimulationSignal Name Functionality OPB IIC SimulationComplete Simulation Arbitrartion Lost Test Simulation Arbitration Lost Test Code Simulation with iicAA as Master Test code with iicAA as Master X97934012907 Test Code for Simulation with iic20 as Master References RevisionHistory Revision