Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - How to debug suspected driver conflict?

 
Thread Tools Search this Thread
Old 06-01-2006, 07:16 AM   #1
Default How to debug suspected driver conflict?


Hi,
I have a signal in my simulation of type std_logic and for the first
several hundred ns or so it appears as 'X' in modelsim. There are
multiple drivers for this signal and most drive 'z' right from 0ns so I
don't understand why I see 'x' in modelsim.

I tried the "drivers" modelsim command to help me: (this was at 0ns)

drivers cpuaddrdata(0)
# Drivers for /odslhornettoptb/cpuaddrdata(0):
# U : Signal /odslhornettoptb/cpuaddrdata(0)
# Z : Driver /odslhornettoptb/dsl1_cpu_bus_model
# Z : Driver /odslhornettoptb/dsl0_cpu_bus_model
# Z : Driver /odslhornettoptb/dut_odslhornettop/drive_data_bus
# U : Driver /odslhornettoptb/main
#

Which I interpret as one driver is uninitialised, and the rest are
driving Z. I looked up the resolution table in std_logic_1164 and to me
it says that if any one of the drivers is U then the resolved signal is
U. Yet modelsim gives me an X?

Sigh. Have figured it out. My std_logic signal was actually part of a
std_logic_vector - modelsim displays 'X' even when all of the
individual elements of the std_logic_vector were 'u'.
Well, will post anyhow, maybe this is useful to somone...



Andrew FPGA
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot find media driver HELP!!! plz ncwayneh Hardware 0 06-10-2009 03:14 PM
Sound Driver Problem tasted Hardware 2 07-14-2006 01:41 PM
NGO NVIDIA Optimized Driver v1.8466 @ NGOHQ Silverstrand Front Page News 0 05-26-2006 01:06 PM
NGO NVIDIA Optimized Driver v1.8456 (x32/x64) @ NGOHQ Silverstrand Front Page News 0 04-29-2006 11:44 PM
removing device driver natural_4u A+ Certification 2 12-15-2003 11:17 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46