cosimRegister method
Registers the current Cosim module with the cosimulator for generation and cosimulation. Only registered modules will be cosimulated.
This is automatically called when build is called.
Implementation
void cosimRegister() {
_registreeName = _registreeUniquifier.getUniqueName(initialName: name);
_registrees[_registreeName] = this;
}