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
Question: Auto Param #677
Comments
Original Redmine Comment AUTOINOUTPARAM |
Original Redmine Comment Thanks, but that is not the behavior I am looking for. The idea is that it would copy all parameters from all sub modules that have been left as a symbolic.
In this example b would be copied and set to the default from the submodule. Parameter a and would be left in side the module since it was set to a value this would end the passing of the parameters. In using the copy from command /AutoParamInOut/, one issue is that the parameter is not set to anything which gives a syntax error. If I manually edit the paramater and set it equal to something it is just wiped out by auto verilog on the next run. |
Original Redmine Comment I can add something to do what you are looking for, but it's going to be subject to the same issue as you see with AUTOINSTPARAM; it will require a SystemVerilog 2012 compatible simulator that accepts parameters without default values. |
Original Redmine Comment Maybe an option to set all parameters to 0 would be a way around the error. Thanks For Considering this. |
Original Redmine Comment Wilson Snyder, Is this done? Which version of verilog-mode.el got AUTOPARAM feature? |
Original Redmine Comment Nowadays, I frequently encounter SystemVerilog 2012 code. Did you get a chance to introduce AUTOPARAM feature? |
Original Redmine Comment Any updates on this? AUTOINOUTPARAM doesn't really solve the problem, as (unlike AUTOINPUT/AUTOOUTPUT/AUTOWIRE) it can't just automatically look at all instantiated child modules and doesn't respect parameter assignment/renaming (either manual or via AUTO_TEMPLATE rule). |
Original Redmine Comment I see the value of this, but at present the parser could only easily support making module my_top #( which I doubt is very often useful as the module above usually will want a default value for C. Someday it'll parse the parameter default values so it can propagate them. |
Author Name: micky harris
Original Redmine Message: 1253 from https://www.veripool.org
Is it possible to have an /AutoParam/ with similar behavior as /AutoInput/?
Example of what I would like to type.
Would be expanded to the following
Is this possible with the current code & I am just missing something? I just want to make sure that all the parameters are propogated to the top level module.
The text was updated successfully, but these errors were encountered: