In reply to bijal thakkar:
I am using EDA Playground.
code link: SV || Union || $bits() || testing - EDA Playground
The simulator used: Synopsys VCS 2019.06
In reply to bijal thakkar:
I am using EDA Playground.
code link: SV || Union || $bits() || testing - EDA Playground
The simulator used: Synopsys VCS 2019.06