Xilinx ML403 specifications OPB IIC Simulation, Signal Name Functionality

Page 25

Simulation

In most cases, after data is transmitted, the test waits for an interrupt from the OPB IIC.

BFM

R

IIC_20

Base Address 0xE0000000

SCL

SDA

IIC_AA

Base Address 0xE1000000

X979_28_012907

Figure 28: OPB IIC Simulation

Internal signal names used in the OPB IIC core are provided in Table 6. Table 6: Internal Signals in OPB IIC

Signal Name

Functionality

 

 

Txak

Transmit acknowledge

 

 

Gc_en

General call address enbale

 

 

Ro_prev

Receive overrun prevent

 

 

Dtre

Data transmit register empty

 

 

Msms

Master/Slave select

 

 

Dtr(7:0)

Data Transmit Register

 

 

Adr(7:0)

IIC Slave Address Register

 

 

Ten_adr(7:5)

10-bit Slave Address Register

 

 

Bb

Bus Busy

 

 

Aas

Addressed as slave

 

 

Al

Arbitration lost

 

 

Srw

Slave read/write

 

 

Abgc

Addressed by general call

 

 

Data_iic(7:0)

IIC data for microprocessor

 

 

New_rcv_data

New data received on IIC bus

 

 

Tx_under_prev

Transmit FIFO Empty IRQs

 

 

slave_sda

SDA value when slave

 

 

master_sda

SDA value when master

 

 

sm_stop

Stop condition needs to be generated

 

 

rsta_tx_under_prev

Repeated start Tx underflow prevent

 

 

XAPP979 (v1.0) February 26, 2007

www.xilinx.com

25

Image 25
Contents Included Systems SummaryIIC Primer IntroductionIntroduction Data Transfer on the IIC Bus Reference System Specifics Reference System SpecificsOPB IIC Registers ML403 XC4VFX12 Address MapOPB IIC Registers Address OPB IIC Control Register Bits Name DescriptionStatus Register SR Status Register Bit Definitions Contd Microchip 24LC04 Configuring the OPB IIC Core24LC04 Control Byte Allocation ML40x Schematic for IIC ConnectionsML40x Resistors Expansion Header Fpga IIC Pins TotalPhase Aardvark AdapterAardvark Control Center Software Projects Executing the Reference System from EDKProjects interfacing to Aardvark Adapter Running the Applications Running the ApplicationsProject HyperTerminal Parameters Invoke XPS. Run Hardware → Generate Netlist Using ChipScope with OPB IICRun Start → Programs → ChipScope Pro → ChipScope Inserter Start → Programs → ChipScope Pro → ChipScope Pro Analyzer Making Net Connections in ChipScope InserterSetting Up the Chipscope Trigger Linux Kernel Linux KernelBSP Settings Connected Peripherals Simulation SimulationOPB IIC Simulation Signal Name FunctionalityComplete 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 History RevisionReferences Revision