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

Add support for parsing enum parameter types #22

Open
imphil opened this issue Sep 28, 2020 · 0 comments
Open

Add support for parsing enum parameter types #22

imphil opened this issue Sep 28, 2020 · 0 comments

Comments

@imphil
Copy link

imphil commented Sep 28, 2020

It looks like the type parser isn't able to parse enum types in parameter declarations.

Failing rST code:

.. verilog:parameter:: parameter ibex_pkg::regfile_e RegFile = RegFileFF

   Register file implementation select:

   * ``ibex_pkg::RegFileFF``: Generic flip-flop-based register file

Build error message:

.../integration.rst:131: WARNING: verilog:parameter: Unexpected token Token('TEXT_EXPR', '::regfile_e RegFile = RegFileFF') at column 19:
        parameter ibex_pkg::regfile_e RegFile = RegFileFF
                          ^

        Expected one of: SYM_BRACKET_L, SYM_COMMA, OP_EQUAL, SYM_PAREN_R, SYM_SEMICOLON
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

1 participant