Hello Otávio,
You can setup cache parameters in <proc>_
block.ac or <proc>_
nonblock.ac (depending if you are using blocking or nonblocking interfaces).
For instance:
File:
mips_block.ac declares instruction and data caches using the following commands:
ac_icache IC("2w", 64, 8, "wt", "random");
ac_dcache DC("2w", 64, 8, "wt", "random");
Parameters: Associativicy, number of blocks, words per block, write policy, replacement policy
The globlal_report.txt file generated after simulation contains some information about NoC statistics (requests, hops, packets per port, etc). But if you want
to trace NoC activities, you can set the NOC_DEBUG flag at defines.h file. If can also add new printfs at the tlm_node.cpp, tlm_noc.cpp or wrappers_noc.cpp files.
Liana.