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

12.1 EDK - When doing a BFM simulation, I get Error: (vsim-4008) Object 'read_cmd(24:31)' not found

描述

I am using Modelsim PE version 6.5c. I am running a bus functional simulation on Modelsim PE version 6.5c and I get the following error message:

** Error: (vsim-4008) Object 'read_cmd(24:31)' not found

How can I work around the problem?

解决方案

This issue appears to only affect Modelsim PE and not Modelsim SE. Open up the sample.do file that was automatically created and locate the first env command:

env /bfm_system/bfm_memory/bfm_memory/slave/slave/read_req_cmd

Each "change" command that follows assumes that you are in the HDL hierarchy of /bfm_system/bfm_memory/bfm_memory/slave/slave/read_req_cmd, but Modelsim PE is not accepting the "env" command.

Prepend each change command with the hierarchical path that "env" tries to setup:

before - change read_cmd(24:31) 2#00000001

after - change /bfm_system/bfm_memory/bfm_memory/slave/slave/read_req_cmd/read_cmd(24:31) 2#0000000

If there is a new "env" command, the "change" commands that follow will have a new hierarchical prefix.

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
34609 12.x EDK - 主要问答记录列表 N/A N/A
AR# 36086
日期 12/15/2012
状态 Active
Type 综合文章
Tools
的页面