Altera_Forum
Honored Contributor
18 years agoUsing Verilog parameters across incremental compilation partitions
I am trying to compile a design that passes a Verilog (using the Verilog 2001 syntax of specifying parameters before ports) parameter down multiple hierarchies and partitions. The parameter is specified through the SOPC builder wizard, and then is passed down multiple levels within my own IP.
Everything seemed to be working before. But now that I have turned on incremental compilation (to reduce compile time), it seems one of the parameters is no longer being passed down properly. The parameter is being passed down like this: SOPC Builder (specify parameter) -> top level of my IP (partition boundary here) -> next level of my IP (2nd partition boundary here) -> two more levels (with no partitions) -> final source file/module. What is the expected result of this setup using top-down incremental compilation? Does my final source file/module get the correct value of the parameter? (obviously I'd like it to) Or does it revert to the default value in the final source file/module. I hope the description is not too vague... Any help is appreciated. - Jason