I would like to initialize some variables in my verification environment to 'X' value. How can I set 'X' value in e?
Thank you for your help
I would like to initialize some variables in my verification environment to 'X' value. How can I set 'X' value in e?
Thank you for your help
Copyright © 2021 Jogjafile Inc.
You can set values other than
0
and1
using the MVL (multi-valued logic) functions. For a one-bit wide signal this would be:It's also possible to assign multi-bit signals by writing:
These methods only apply to ports. If you want to assign variables to
X
you need to declare them as being of typemvl
orlist of mvl
.