Test application "Gossip"

Gossip is an application to test if the whole system has been set up correctly and walk through the entire design flow. Gossip also meant as an easy starting point for self-made (test) programs for the NOC. Gossip sends a short message across the network (see figure 1).


Figure 1
: Gossip for 2x2 network

Node x0y0 send the text "I know something!" to node x1y0 and then listens for a return message from any node. When it has received that message, it quits. All other nodes wait for an incoming message, forward it to the next node and then exit.

Gossip is located in the folder ./c_prog/gossip of the package. A compiled version that can be uploaded to the FPGA and the output result of the hardware simulator are in ./samples/gossip. See the application design flow for compilation instructions.

The output of gossip should be (copied from the output of ./c_prog/gossip/dolcc 10):

NODE x0y0:
=========
Node 0 up and running!
I sent: "I know something!"
I received:"I know something!"
Let's call it a day!

NODE x1y0:
=========
Node 1 up and running!
I received: "I know something!"
Successfully forwarded the message.
Let's call it a day!

NODE x0y1:
=========
Node 2 up and running!
I received: "I know something!"
Successfully forwarded the message.
Let's call it a day!

NODE x1y1:
=========
Node 3 up and running!
I received: "I know something!"
Successfully forwarded the message.
Let's call it a day!

The complete listing is in ./samples/gossip/simulator_output_gossip.txt.