move functions into modules
Created by: cathales
- Functions used in only one module are moved into this module so that they can use the module parameters.
- Functions used in several modules take the configuration as an argument.
- Some internal localparams are moved
-
xlen_t
is inlined