Call module output - SystemVerilog
Hello, I have a question and would be glad if somebody could help me, im a bit new to Systemverilog so bear with me!
I have a project where i use two boards. First one is Intel DE10- lite and i have another board with M0 architecture. Basically i have to combine these two boards to work together. The m0 board has to send some data to the fpga where the fpga has to do some stuff and then send the data back to the m0 and the output of the fpga to be saved in a txt file. I have done this but with some more simpler stuff just to see it if works, for example a simple mux. So as the subject says I call some modules and i need the outputs of some modules to be returned to the top module and therefore to the m0 board.
You will see from the pictures an output called loratest and this is the data that im sending to the other board. Now my question is how can i get the output symType from the module called loraPacketGenerator to the top module so i can send the data?