Wilson Snyder
Wilson Snyder
I mean in this case `"Assignment pattern missed initializing elements: "`
I added an assertion that now fires, but really V3Width needs to detect this. The complication is that array slicing isn't currently computed in V3Width - it currently only checks...
Fixed in master while ago, example gets: ``` %Error: t/t_0_bad.v:12:37: Assignment pattern missed initializing elements: 3 : ... note: In instance 't' 12 | localparam logic [7:0] PAR [5] =...
At some point V3Width probably isn't making the right call to size the parameter before it's used, needs some debug.
Fixed sometime earlier, current master gives same runtime results as other simulators.
This approach makes sense to me. I'd suggest see if it can be done without making the functions static, perhaps a new class (of which there is two instances corresponding...
My objection was to using a static, I'm open to whatever layout of the instances seems best.
Another idea would be to make a different randomize() virtual function for each caller site that has a with{}. E.g. randomize_with_at_filefoo_line123(). (Really a different randomize for each unique set of...
When I use a simple .cpp DPI file (without python) and compile on Linux this works fine. I can't test MacOS, so you'll need to debug this at your end....
The attached, which I think matches what you describe, works ok for me using master on Ubuntu 22.04. [bug5513.tgz.txt](https://github.com/user-attachments/files/17285167/bug5513.tgz.txt)