Limitation: DSim -defparam
errors on Windows machines
Problem
DSim may fail on Windows machines when the -defparam
option is used, with an error message like this:
=E: [BadDefparamConv]: Failed to convert defparam token to type of generic:
Solution
- Close the terminal running DSim. If you're running DSim from within Visual Studio Code, close Visual Studio Code.
- Install PowerShell 7.
- Re-run DSim.
Cause
Older versions of PowerShell, including Windows PowerShell, do not properly parse the string in the -defparam
option.
Products Affected
- DSim Desktop
- DSim
- DSim Cloud
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article