Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tri-State data type #12

Open
HWoidt opened this issue Mar 24, 2016 · 0 comments
Open

Tri-State data type #12

HWoidt opened this issue Mar 24, 2016 · 0 comments

Comments

@HWoidt
Copy link
Contributor

HWoidt commented Mar 24, 2016

Issue by HWoidt
Saturday Jul 11, 2015 at 13:01 GMT
Originally opened as https://gits-15.sys.kth.se/ingo/forsyde-deep/issues/12


Reported by [email protected], Apr 23, 2008

In order to model for instance buses a tri-state data type is needed.

std_logic in VHDL provides 9 different values, the most important are '1',
'0', 'Z' (high resistance) and 'X' (unknown).

How difficult would it be to implement it?

Apr 24, 2008
Project Member [email protected]

OK, sounds reasonable. On the other hand ... wouldn't it be better to just have one
type (e.g. StdLogic) instead of two (Bit + StdLogic)? Actually, Bit is currently
translated to std_logic.

I never really understood why VHDL makes use of both.

Apr 24, 2008
Project Member [email protected]

Let's think a little bit more about it. The full std_logic data type is not needed
for synthesis. One should have 'Z' and maybe 'X' is also used (for don't care, but we
have to check this further).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant