Closed saipriya-ar closed 4 years ago
Just look at the Buffer.h file, some already existing function as: unsigned int getCurrentFreeSlots() const;
could be useful.
thank you what we should do to print the results of buffer occupancy the buffer occupancy should be like graph for each router(x,y) ,how we have to do this ?
i am unable to install the noxim simulator,i am getting fatal error
In file included from ../src/Stats.h:17:0, from ../src/Stats.cpp:11: ../src/DataStructs.h:14:21: fatal error: systemc.h: No such file or directory
^
compilation terminated. Makefile:43: recipe for target 'build/Stats.o' failed make: *** [build/Stats.o] Error 1
thanks in advance
hello. the error message you pasted shows that it can't find systemc.h which include in systemc-$version/lib-linux64. please check 1)whether you'v installed systemc successfully,2)did you modify the Makefile with proper yaml-cpp and systemc installation path? good luck.
hello. In buffer.cpp we can get buffer state (with printing push, pop, and front) but i think these buffers must be a FIFO memory! not like a stack. now can you please explain what is happening in these buffer? what is meaning of "pop" and "front" in this code. i have another question. can i change "sc_start" function? (where is this function? witch file?) if it is not possible, how can i get PE local buffer? in your examples, four buffer defined for any router. if i need to declare a buffer for Processing element (that connected to router), what should i do? thanks a lot :)
how to calculate buffer occupancy in noxim i am going to implement IEEE paper "Local Congestion avoidance in network on chip" can you please help me out thanks in advance