abs-tudelft / vhdmmio

VHDL code generator for AXI4-lite register files

Home Page:https://abs-tudelft.github.io/vhdmmio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Constants and expressions support

m-kru opened this issue · comments

commented

Does vhdmmio support constants and expressions? For example, I would like to define two module constants X and Y, and then I would like to calculate different values utilizing these constants in the expressions.

I'm not sure what you mean, exactly? Constants defined where and used to control what?

The answer is probably "no," though. IIRC support for VHDL-level generics is very limited (if that's what you mean), and I would consider everything that sits at an abstraction layer above a description of a specific register file out of scope. If one would want to do stuff like generating these register file descriptions in a parameterized way like that, I figure they would write some script around vhdmmio that generates the YAML files. Anything else is unlikely to be powerful enough to suit everyone's needs, IMO.

commented

I meant what you have described in the second half of your comment. Thanks!