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

4.2i Foundation Logic Simulator - How do I use the "check" macro on busses?

Description

Keywords: Foundation, Logic Simulator, check, macro, command, syntax, z

Urgency: Standard

General Description:
How do I use the "check" macro on busses? If I use the following syntax, an "Incorrect state value" error is reported:

"vector DATA DATA[7:0]
check DATA 'zzzzzzzz'"

The same error is reported if I use:

"check DATA zzzzzzzz"

Solution

The correct syntax is:

vector DATA DATA[7:0]
check DATA z

To check individual bits, you must use individual commands:

check DATA0 z
check DATA1 z
...
check DATA7 z
AR# 8162
Date Created 11/28/1999
Last Updated 08/12/2003
Status Archive
Type General Article