Cache configuration and NoC tracing

22 views
Skip to first unread message

Otávio Alcântara

unread,
Dec 11, 2015, 9:07:17 AM12/11/15
to mpsoc...@googlegroups.com
Hello,

   I would like to know how to setup the cache parameters. I've searched the files but I didn't find the cache device implementation.

   Besides that, I'm wondering if it is possible to trace the NoC activity. I mean to register the content of each transmitted message and its transmission and reception timestamps.

Best regards,

Otávio Alcântara


Liana Duenha

unread,
Dec 11, 2015, 3:20:08 PM12/11/15
to mpsoc...@googlegroups.com
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.






--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.



--
-------------------------------------------------------------------------
Liana Duenha

Faculdade de Computação - FACOM/UFMS
Website Institucional: www.facom.ufms.br


Faculty of Computing - FACOM/UFMS
Faculty Website: www.facom.ufms.br

Reply all
Reply to author
Forward
0 new messages