UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 39054

v2.02a - XPS_SPI - Update in IO_IS tag for PORT SS

Description


I am trying to create an SPI based system using the XPS SPI core in BSB.

However, BSB does not connect the SS port.

What is the reason for this ?

Solution

The board's XBD file has chip_select as the IO_IS tag while the XPS SPI v2_02_a core MPD file (which is released in 12.3) has slave_select as the IO_IS tag. 

As a result, the tool does not infer the SS port in the external port list as well as in the UCF. 

 

The system will be created without the SS signals physically connected.

 

This is observed only in the xps_spi_v2_02_a core which is released in EDK v12..

 

There has been a change in the xps_spi core MPD.

 

The following modifications should be made to ensure that the BSB connects to the SS port:

 

The MPD file for the xps_spi_v2_02_a core needs updates to the IO_IS tags for the below ports:
 

Replace

PORT SS_I = "", DIR = I, VEC = [0:(C_NUM_SS_BITS-1)], IO_IF = spi_0, IO_IS = slave_select_I 

with

PORT SS_I = "", DIR = I, VEC = [0:(C_NUM_SS_BITS-1)], IO_IF = spi_0, IO_IS = chip_select_I

Replace

PORT SS_O = "", DIR = O, VEC = [0:(C_NUM_SS_BITS-1)], IO_IF = spi_0, IO_IS = slave_select_O

with

PORT SS_O = "", DIR = O, VEC = [0:(C_NUM_SS_BITS-1)], IO_IF = spi_0, IO_IS = chip_select_O

Replace

PORT SS_T = "", DIR = O, IO_IF = spi_0, IO_IS = slave_select_T

with

PORT SS_T = "", DIR = O, IO_IF = spi_0, IO_IS = chip_select_T

Replace

PORT SS = "", DIR = IO, VEC = [0:(C_NUM_SS_BITS-1)], THREE_STATE = TRUE, TRI_I = SS_I, TRI_O = SS_O, TRI_T = SS_T, IO_IF = spi_0, IO_IS = slave_select, PERMIT = BASE_USER, DESC = 'Slave Select Vector'

with

PORT SS = "", DIR = IO, VEC = [0:(C_NUM_SS_BITS-1)], THREE_STATE = TRUE, TRI_I = SS_I, TRI_O = SS_O, TRI_T = SS_T, IO_IF = spi_0, IO_IS = chip_select

   

 

 

AR# 39054
Date Created 11/11/2010
Last Updated 03/18/2015
Status Active
Type Known Issues
Tools
  • EDK - 12.3
IP
  • XPS Serial Peripheral Interface