Coder Social home page Coder Social logo

Fast Simulation is not working about pimsim HOT 2 OPEN

vineodd avatar vineodd commented on August 12, 2024
Fast Simulation is not working

from pimsim.

Comments (2)

LingYeAI avatar LingYeAI commented on August 12, 2024 9

I found an interesting thing, if you open SimplePIM.cs, you may find code like this:
if (command.Equals("c", StringComparison.OrdinalIgnoreCase) || command.Equals("cycle", StringComparison.OrdinalIgnoreCase))
{
Config.sim_type = SIM_TYPE.cycle;
Config.sim_cycle = UInt64.Parse(args[i + 1]);
DEBUG.WriteLine("cycle success.");
}
Usage();
Environment.Exit(1);
which means if you give the parameter '-c',program will just print something and exit.
if you put
Usage(); Environment.Exit(1);
in an 'else',this program may work.
btw, one of the examples the author provide can't work.The whole program and 'readme' made me feel that the author didn't want others to use it.

from pimsim.

m1chaelyeung avatar m1chaelyeung commented on August 12, 2024

I found an interesting thing, if you open SimplePIM.cs, you may find code like this:
if (command.Equals("c", StringComparison.OrdinalIgnoreCase) || command.Equals("cycle", StringComparison.OrdinalIgnoreCase))
{
Config.sim_type = SIM_TYPE.cycle;
Config.sim_cycle = UInt64.Parse(args[i + 1]);
DEBUG.WriteLine("cycle success.");
}
Usage();
Environment.Exit(1);
which means if you give the parameter '-c',program will just print something and exit.
if you put
Usage(); Environment.Exit(1);
in an 'else',this program may work.
btw, one of the examples the author provide can't work.The whole program and 'readme' made me feel that the author didn't want others to use it.

Excuse me, I have met a problem of how to generate the trace file in a required format as below. Can you tell me what tool should I use and how to do it? Thank you!
18|rdip t7, %ctrl153,
19|st t7, SS:[rsp + 0xffffffffff8]|W|D=0x00000000004001ba A=0x7fffffffee08
20|subi rsp, rsp, 0x8
21|wrip , t7, t1
22|st r15, SS:[rsp + 0xfffffffff8]|W|D=0x0000000000000000 A=0x7fffffffee00

from pimsim.

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.