KillaKem
Junior Member level 2
I have modules that define a parameter N, I also have an encapsulating module that instantiates all the other modules and it also defines the parameter N, so the problem I'm having is that every time I want to change the value of N I have to go into all the modules one by one and change N's value, I then have to change the value of N in the encapsulating module too, is there any way I can I define the parameter N such that when I only have to define it once and the value gets used by all the modules? Sort of like global variables in high level languages like Java, C++.