davidepatti / noxim

Network on Chip Simulator
225 stars 120 forks source link

Modification of the Mesh Topology #93

Closed NavonilChatterjee closed 4 years ago

NavonilChatterjee commented 4 years ago

I want to modify the topology to connect some extra links in the noxim simulator. For this I have changed the router.cpp, NoC.cpp, NoC.h, DataStructs.h, Main.cpp. GlobalParam.h In the GlobalParam.h I have changed the number of ports of a router from 4 to 5. I have named the port as extra. In the datastructs.h I have modified the NoP by adding extra condition for the 5th port. In the router.cpp, in configuration function I have added extra conditions to check and eliminate the connects not present. Finally, I have made extra connects in NoC.cpp and NoC.h.

However, when I try to run the noxim its showing segmentation fault with the following error: Loading configuration from file "../config_examples/MOTconfig.yaml"... Done Loading power configurations from file "power.yaml"... Done Reset for 1000 cycles... Error: (E109) complete binding failed: port not bound: port 'NoC.Tile[06][07](#62).port_69' (sc_in)

Can you please tell me how to create this extra port in the router?

GMahmoudi commented 4 years ago

You can use NoximLong (on github). It is a branch of noxim and supports a fifth connection, which is a Long connection.Sent from my Samsung Galaxy smartphone. -------- Original message --------From: NavonilChatterjee notifications@github.com Date: 10/2/19 17:41 (GMT+02:00) To: davidepatti/noxim noxim@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [davidepatti/noxim] Modification of the Mesh Topology (#93) I want to modify the topology to connect some extra links in the noxim simulator. For this I have changed the router.cpp, NoC.cpp, NoC.h, DataStructs.h, Main.cpp. GlobalParam.h In the GlobalParam.h I have changed the number of ports of a router from 4 to 5. I have named the port as extra. In the datastructs.h I have modified the NoP by adding extra condition for the 5th port. In the router.cpp, in configuration function I have added extra conditions to check and eliminate the connects not present. Finally, I have made extra connects in NoC.cpp and NoC.h. However, when I try to run the noxim its showing segmentation fault with the following error: Loading configuration from file "../config_examples/MOTconfig.yaml"... Done Loading power configurations from file "power.yaml"... Done Reset for 1000 cycles... Error: (E109) complete binding failed: port not bound: port 'NoC.Tile[06][07](#62).port_69' (sc_in) Can you please tell me how to create this extra port in the router?

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/davidepatti/noxim/issues/93?email_source=notifications\u0026email_token=ADMWNLB2U4HCTOO2XFD54NDQMSXJDA5CNFSM4I4XJAN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HPEZYBQ", "url": "https://github.com/davidepatti/noxim/issues/93?email_source=notifications\u0026email_token=ADMWNLB2U4HCTOO2XFD54NDQMSXJDA5CNFSM4I4XJAN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HPEZYBQ", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

davidepatti commented 4 years ago

It's not that simple, expecially to debug. I suggest you to update to the latest version that supports delta topologies, just to see how differented port mappings can be done to implement very different topologies. Also remember that if you want to add some port you should has to both the router AND the tile can contains the router. Look at how the RadioHub are connected....

NavonilChatterjee commented 4 years ago

Thank you for the reply. I am trying to update. If you don't mind I can send you the updated code. If you could have a look. Also, I went through the delta topology. But I am really confused about the topology. Can you upload a figure just to know how the connections are updated.

De: "Davide Patti" notifications@github.com À: "davidepatti/noxim" noxim@noreply.github.com Cc: "Chatterjee Navonil" chatterjee.navonil@univ-ubs.fr, "Author" author@noreply.github.com Envoyé: Jeudi 3 Octobre 2019 11:43:44 Objet: Re: [davidepatti/noxim] Modification of the Mesh Topology (#93)

It's not that simple, expecially to debug. I suggest you to update to the latest version that supports delta topologies, just to see how differented port mappings can be done to implement very different topologies. Also remember that if you want to add some port you should has to both the router AND the tile can contains the router. Look at how the RadioHub are connected....

— You are receiving this because you authored the thread. Reply to this email directly, [ https://github.com/davidepatti/noxim/issues/93?email_source=notifications&email_token=AKQM5LMB5G3DHGAGXP5RDSDQMW5FBA5CNFSM4I4XJAN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHUHEY#issuecomment-537871251 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AKQM5LPT5VKAV7YTUK4Y5R3QMW5FBANCNFSM4I4XJANQ | mute the thread ] .