Code Monkey home page Code Monkey logo

Comments (6)

francisco-munoz avatar francisco-munoz commented on June 30, 2024

Hi @ashsw ,

not a bother at all. Let me answer your questions:

  1. In order to get the energy and area values from the execution you need to run the script "calculate_energy" feeding it with the output of the simulation (i.e., the counter files) and your counter table. Take a look at the README in the repo, which contains a section called "generating energy numbers". There, you can see how to exactly use the script and how to generate those numbers from a particular simulation.
  2. Actually, STONNE just tells you the number of simulated cycles it has taken to complete your execution. For your execution time, you can assume any frequency and calculate the time based on time = number of cycles / frequency. Obviously, if you reduce the frequency, your energy numbers might differ and probably you will need to update the energy and area counters. To do so, you can look up papers out there or synthesize your own numbers. Currently, the frequency used in the energy and area counters in the table of STONNE (the table shown in the README file) are for an architecture synthesized at 200 MHz.
  3. Currently the global buffer reads data width of 32 bits. However, since the version in the repository contains an unlimited GB this is actually irrelevant. You can assume any data width if you feed the energy tables with the proper numbers. In the next update, It will include the whole memory hierarchy, and here there is a parameter to select the data width.

Hope it helps

from stonne.

ashsw avatar ashsw commented on June 30, 2024

Hi Francisco,

Thank you for your reply! For the first question, actually, I have done the process according to your "generating energy numbers". The output file I got has information like "GlobalBuffer: STATIC=208.7064 AREA=115029.0 DYNAMIC=1905.5520000000001". It is great! But I don't know the unit of the data. For instance, I cannot figure out STATIC=208.7064mJ? or STATIC=208.7064uJ?

Thanks
Yile

from stonne.

francisco-munoz avatar francisco-munoz commented on June 30, 2024

Hi @ashsw ,

The numbers in the file are in uJ, as that was the unit reported by the synthesis tool

from stonne.

ashsw avatar ashsw commented on June 30, 2024

Hi @francisco-munoz,

Thank you for your patience! I guess the unit for "AREA=115029.0" must be mm^2? Forgive me, just for checking. The paper about "MAERI" sets up the Prefetch Buffer=80KB and area=6mm^2. Since the area of Prefetch Buffer is fixed in Stonne, what is its total size in KB?

Thanks
Yile

from stonne.

francisco-munoz avatar francisco-munoz commented on June 30, 2024

Hi @ashsw ,

the numbers shown are for a 108 KB buffer size. And yes, if I do not remember bad, the numbers are in mm2. I might be wrong. Please let me know if that does not make sense and I will make a deep search. I do not have the results on hand now and can't look them up.

from stonne.

ashsw avatar ashsw commented on June 30, 2024

Hi @francisco-munoz,

Thank you very much! I really appreciate it!

from stonne.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.