-
Notifications
You must be signed in to change notification settings - Fork 269
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
[Feature] Make check_equal
a generic procedure
#1030
Comments
I think that would be interesting. Today we generate check equal subprograms for common types and we will continue to do that to support VHDL-93 and less mature VHDL-2008 implementation. However, generics could be a way of supporting custom types. |
Ohh yeah the old version shit also exists 😫, my bad, sry. |
I don't think it would be much to maintain. It's more of a priority thing. If you want, you can give it a try. The "template" can be found in the script that generates the check equal subprograms we have today: https://github.com/VUnit/vunit/blob/master/vunit/vhdl/check/tools/generate_check_equal.py |
Oki doki, I give it a try. A couple of questions though:
|
Checks for ufixed/sfixed types do already exist |
Hey there, I thought to make the testing even more powerful. I'd suggest to make
check_equal
a generic procedure in order to make it easier to define a new one for any other type.Suggested code:
The text was updated successfully, but these errors were encountered: