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# 19702

6.2 EDK, Base System Builder (BSB) - Spartan-3 Starter Kit signal connection (CEN) is incorrect for SRAM

Description

General Description:

When I generate my design using Base System Builder in XPS for the Spartan-3 Starter Kit board, the following error message occurs during synthesis (generate netlist):

"=========================================================================

* HDL Compilation *

=========================================================================

Compiling vhdl file C:/CASES/S3_STARTER_BUG/hdl/system.vhd in Library work.

ERROR:HDLParsers:1401 - C:/CASES/S3_STARTER_BUG/hdl/system.vhd Line 766. Object SRAM_256Kx32_Mem_CEN of mode OUT can not be read.

-->

Total memory usage is 50224 kilobytes

Done.

The signal connection (CEN) is incorrect for the SRAM. The Error in PlatGen occurs when the system is not the top level of the design.

The MHS file declares the 2 output PORTS for the CEN (These two ports are needed for 2 x 16 Bit SRAMs on the board).

PORT SRAM_256Kx32_Mem_CEN = SRAM_256Kx32_Mem_CEN, DIR = output, VEC = [0:0]

PORT SRAM_256Kx32_1_Mem_CEN = SRAM_256Kx32_Mem_CEN, DIR = output, VEC = [0:0]

And at the OPB_EMC controller the CEN signal gets connected with both PORT CEN signals

PORT Mem_CEN = SRAM_256Kx32_Mem_CEN

The problem now is the generated VHDL code (please review the system.vhd for details)."

Solution

You can work around this problem as follows:

1. Create an internal signal in MHS for connecting the EMC Mem_CEN to the PORT SRAM_256Kx32_Mem_CEN and to the PORT SRAM_256Kx32_1_Mem_CEN (as shown below). Modify the MHS file to include the following changes:

PORT SRAM_256Kx32_Mem_CEN = i_SRAM_256Kx32_Mem_CEN, DIR = output, VEC = [0:0]

PORT SRAM_256Kx32_1_Mem_CEN = i_SRAM_256Kx32_Mem_CEN, DIR = output, VEC = [0:0]

2. At the OPB_EMC controller, make these changes:

PORT Mem_CEN = i_SRAM_256Kx32_Mem_CEN

AR# 19702
Date Created 09/03/2007
Last Updated 12/15/2012
Status Active
Type General Article