View email archives for the history of this mailing list.
systemc-forum - Re: [systemc-forum] Modeling tri-state signal
- To: "Somervill, Kevin M. (LARC-D203)" <kevin.m.somervill@xxxxxxxx>
- From: david.black@xxxxxxxxxx
- Date: Mon, 19 Mar 2012 14:43:05 +0000
- Cc: "systemc-forum@xxxxxxxxxxxxxxxxxxx" <systemc-forum@xxxxxxxxxxxxxxxxxxx>
- Send Email to email@example.com:
- Send new message
- Reply to this message
sc_signal_rv is the correct approach. You probably need to post your code here if you want help.|
David C Black, Senior Consulting Engineer
Doulos Inc http://www.Doulos.com
Voice: 512.850.4322 Skype: dcblack FAX: 888.467.4609
Doulos - Developing Design Know-how
This message (and associated files) may contain information that is confidential proprietary, privileged, or subject to copyright. It is intended solely for the use of the individual to whom it is addressed and others authorized to receive it. If you have received this email in error, please notify the sender and delete all copies. This message may contain personal views which are not the views of Doulos unless specifically stated.
-----<systemc-forum@xxxxxxxxxxxxxxxxxxx> wrote: -----
To: "systemc-forum@xxxxxxxxxxxxxxxxxxx" <systemc-forum@xxxxxxxxxxxxxxxxxxx>
From: "Somervill, Kevin M. (LARC-D203)"
Date: 03/19/2012 07:22AM
Subject: [systemc-forum] Modeling tri-state signal
I’m trying to model bidirectional I/O (at a low level) and I get the multiple drivers error or what I believe is incorrect resolution on ‘Z’. I’ve been googling for about a week and have not found anything that shows me how to model tri-state signal. In the spec, it states that I should use sc_signal_rv, but I don’t get the expected output. If I drive a ‘Z’ at one place and a ‘1’, I get ‘X’. If I drive a ‘Z’ from one driver, but a ‘0’ from the other, I get a ‘0’. I expect that there’s an obvious fix for this issue, but I’ve not been able to find it. Any suggestions?