Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support mutable top-level parameters for --protect-lib #1522
Original Assignee: Todd Strader (@toddstrader)
This may also have applications outside of --dpi-protect. Possible solutions:
The former handles simple parameter cases, but cannot handle parameters that control generate blocks, for instance. The latter needs more thought, but since we're essentially doing the same thing for --dpi-protect itself, we may be able to continue down that path to solve this problem.
Original Redmine Comment
Agreed, I'm not going to dive into anything here before we have a well baked plan.
But in the interest of writing things down, I also think that we should be able to promote the --protect-lib'ed module's paramters to the SV wrapper. That way we could do different things such as use the correct library based on the parameter configuration or pass the parameters that we've write-ified via DPI to the module.