In the ModelSim workspace there are two separate modules A and B with identical clock inputs. The number 4’b0101 is written in the register of the first module at time zero, and 4’b1110 in the register of the second. Each time the clock edge rises, the registers exchange numbers. So, as a result, 4’b1110 is written to the first register, and 4’b0101 to the second. Etc. Tell me how please, how, in this case, to write the relationships between these submodules ports in a higher-level module?