Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhelpful error message if passing no parameter to read_systemverilog #500

Open
hzeller opened this issue Apr 27, 2023 · 1 comment
Open
Assignees

Comments

@hzeller
Copy link
Collaborator

hzeller commented Apr 27, 2023

If there is no parameter given to read_systemverilog, the error message is strange: it complains that a file read_systemverilog can not be read.

Observed

yosys> plugin -i systemverilog
yosys> read_systemverilog 

1. Executing Verilog with UHDM frontend.
ERROR: Can't open input file `read_systemverilog' for reading: No such file or directory

Of course read_systemverilog is not a file we want to read in the first place.

Expected

Ideally the 'help' output of the plugin, or a one liner describing how to get help.

No parameter given. Consult
  help read_systemverilog

Speaking of which: there is no read_systemverilog -help. I suspect that is by design as the yosys built-in help is usually used ?

@hzeller
Copy link
Collaborator Author

hzeller commented Apr 28, 2023

Assigning to Karol to triage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants