Open svenka3 opened 3 years ago
Based on your comments I assume you want this to be parsed and turned into a NOP or are you looking for a parse and make it a run-time error if executed? The later seems safer. This also should have been added to #369 to keep everything in one place.
I assume you understand adding deterministic randomization and the required constraints is likely a very large task.
NOP would be OK as we know constraint random generation is a big feature and not available in Icarus (srandom is a small part of that, not widely used per-se, also not recommended, but UVM has some calls to it).
Maybe a warning if you care to, but not very useful IMHO.
Thanks
Hi, I understand random gen is NYI (Not Yet Implemented). However, from UVM lib compile/parse perspective it would help to get parser accept srandom() call. Below is a test: