-
Notifications
You must be signed in to change notification settings - Fork 579
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
Hex Digit Display: Improve visualisation of High-Z input value #365
Comments
It is ok with the display showing "H". But the documentation explains that a floating or error signal, will display a dash ('-') instead of "H". |
@edson-acordi: If there is an inconsistency between the implementation and documentation, then please leave this issue open so that it can be fixed. |
Hi Maehne, issue reopened to be fixed! Thank you! |
@BFH-ktt1, @kevinawalsh, and @mbaillif: I confirm the inconsistency reported by @edson-acordi between implementation and documentation of the Hex Digit Display component. I guess fixing it in the implementation is least effort, but maybe displaying "H" instead of "-" is preferable? For me, "-" means Don't Care, but under certain conditions it might be mistaken to be a minus sign in front of a value. However, this case might be less likely for use cases of the Hex Digit Display. Anyway, "H" might be also mistaken to signify "Hexadecimal". What do you think? |
What about adding "High-Z" configurable color and then display "H" using it? As I agree, showing "H" in On color is confusing. |
I changed the title and added back the Documentation tag to remind us that documentation needs to get adjusted, too. After all, for the moment there's a mismatch between documented and actual behaviour. |
Personally, I would prefer capital 'U', as it would be consistent with the value shown on the port and the representation of uninitialized value in VHDL. High-Z outputs of a tristate buffer don't drive the connected signal to any value. So, it remains unknown if not driven by a different source. However, I could also live with a lower-case 'u'. @BFH-ktt1, @edson-acordi, @davidhutchens, all: What's your opinion? |
Alternatively we can stay fully blank which is also fine and quite logical as there's no data to display anyway. In fact this is behavior I'd personally expect having such physical device. |
@MarcinOrlowski: Indeed, this would also be a logical behaviour. |
Corrects HexDisplay behavior. Closes #365
Doing some tests with Hex digit display, I noted that if the data (4 bit) is in High-Z, display shows "H" instead of stay in adjusted "Off Color". It would be good if the Hex digit display works like the 7-segment display. Moreover, it would be nice to have the option "Active On High?" as the 7-segment display has.
The text was updated successfully, but these errors were encountered: