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

underscores are not supported by HardwareSimulator #1

Open
antonkulaga opened this issue Dec 27, 2021 · 1 comment
Open

underscores are not supported by HardwareSimulator #1

antonkulaga opened this issue Dec 27, 2021 · 1 comment

Comments

@antonkulaga
Copy link

It shows " ',' or ')' required" whenever I use underscores in pins names. It looks like a bug of your HardwareSimulator because it is not highlighted by Verilog-HDL plugins for code editors.

@dabajabaza
Copy link

dabajabaza commented Jan 7, 2022

Not a bug. PIN names convention is defined in the book in Appendix 2

Names of chips and pins may be any sequence of letters and digits not
starting with a digit (some hardware simulators disallow using hyphens). By
convention, chip and pin names start with a capital letter and a lowercase
letter, respectively. For readability, names can include uppercase letters, for
example, xorResult. HDL programs are stored in .hdl files. The name of the
chip declared in the HDL statement CHIP Xxx must be identical to the prefix
of the file name Xxx.hdl.

Is this repo even the official one? It seems like it's the repo of some random guy that completed the course %)

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