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

6.1 EDK - Simulation of MicroBlaze fails when the target device is a Spartan-IIE

Description

Keywords: MB, cache, XST, VSIM, array, length

Urgency: Standard

General Description:
Simulation of MicroBlaze fails when the target device is a Spartan-IIE. When the icache has been enabled, ModelSim generates the following error:

# ** Fatal: (vsim-3420) Array lengths do not match. Left is (0 to 10). Right is (18 to 29).
# Time: 4700 ns Iteration: 9 Process: /system_t/t/mblaze/mblaze/using_icache/icache_i1/using_fpga/using_4kb_bram/tag_memory_handle File: ./hdl/vhdl/icache.vhd
# Fatal error at ./hdl/vhdl/icache.vhd line 963
#

From XST, I receive the following warnings:

From the XST synthesis report there is a warnings on the same:
WARNING:Xst:1610 - c:/EDK6/hw/XilinxProcessorIPLib/pcores/microblaze_v2_00_a/hdl/vhdl/icache.vhd line 963: Width mismatch. <Tag_Mem_Addr> has a width of 10 bits but assigned expression is 11-bit wide.
WARNING:Xst:790 - c:/EDK6/hw/XilinxProcessorIPLib/pcores/microblaze_v2_00_a/hdl/vhdl/icache.vhd line 965: Index value(s) does not match array range, simulation mismatch.
INFO:Xst:1433 - Contents of array <Tag_Memory> may be accessed with an index that exceeds the array size. This could cause simulation mismatch.
WARNING:Xst:790 - c:/EDK6/hw/XilinxProcessorIPLib/pcores/microblaze_v2_00_a/hdl/vhdl/icache.vhd line 976: Index value(s) does not match array range, simulation mismatch.
INFO:Xst:1433 - Contents of array <Data_Memory> may be accessed with an index that exceeds the array size. This could cause simulation mismatch.
WARNING:Xst:1610 - c:/EDK6/hw/XilinxProcessorIPLib/pcores/microblaze_v2_00_a/hdl/vhdl/icache.vhd line 978: Width mismatch. <Data_Mem_Addr> has a width of 10 bits but assigned expression is 11-bit wide.

Solution

This problem is fixed in the latest 6.2 EDK Service Pack, available at:
http://www.xilinx.com/ise/embedded/edk.htm.
The first service pack containing the fix is EDK 6.2 Service Pack 2.
AR# 19580
Date Created 06/21/2004
Last Updated 03/08/2006
Status Archive
Type General Article