davidepatti / noxim

Network on Chip Simulator
218 stars 118 forks source link

routing problem of the fault-tolerant routing algorithm added in the Noxim #136

Open taadaal opened 2 years ago

taadaal commented 2 years ago

Hello, I added a fault-tolerant routing algorithm named "GRADIENT" to the Noxim according to the Noxim_Tutorial PDF, the routing algorithm was successfully added, but I couldn't get results from the files in Config_Example. What is the problem with my routing algorithm?

Result With 4×4

How could I fault a node in a wired and wireless subnet?

In other issues, I figured out to add a fault-tolerant routing algorithm, we need a flag bit added to a class, which class exactly? is that necessary in my case? This is the article I used: "https://ieeexplore.ieee.org/abstract/document/6385394"

davidepatti commented 2 years ago

Seems no transmission is happening, your routing is not working. Try to enable DEBUG in makefile and follow the log file

taadaal commented 2 years ago

Thanks for your prompt response, I enabled DEBUG in "makefile" and this is my "my_log.txt".

Screenshot (99) Screenshot (101)

and when I ran the "./noxim -config ../config_examples/default_config.yaml" with GRADIENT: a fault-tolerant routing algorithm, seems no transmission is happening, As I mentioned before the routing was successfully added. Do I need to make changes in other Noxim files? For example, should I use a faulty node or add a flag bit to a class? If files need to be changed, in which files should these changes be made?