-
Notifications
You must be signed in to change notification settings - Fork 4
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
No Nodes Created for Generic Vector Length in Entity #18
Comments
One possibility would be to read in the VHDL / Verilog code with Yosys and then output it as a json. In both cases, this generates a JSON with the following key. For Example this vhdl code translates to this json:
|
The Regex should support generic values now, however Constants defined in packages are not working yet |
This approach should be applied automatically if the user has yosys/ghdl available |
When using a generic to define the length of an std_logic_vector in a VHDL entity, no nodes are generated in the software. In this case, the MAX_LENGTH generic is set to 138, so I expect 138 nodes to be created. However, because the vector length is defined via the generic, it appears that no nodes are being generated.
Expected Behavior
138 nodes corresponding to the individual bits of the outV vector should be generated.
Actual Behavior
No nodes are generated for the outV vector due to the use of the MAX_LENGTH generic to define its length.
The text was updated successfully, but these errors were encountered: