Coder Social home page Coder Social logo

Comments (11)

SaugataGhose avatar SaugataGhose commented on August 25, 2024

Oh I see there's a typo in README.md. The --ramulator-config argument takes in a filename, for a file that contains the configuration parameters of Ramulator. We've included an example file, gem5-config.cfg, that contains a DDR3 configuration. If you try --ramulator-config=/path/to/ramulator/gem5-config.cfg, does that work?

from ramulator.

dongha avatar dongha commented on August 25, 2024

works. thanks!

from ramulator.

astromonk2013 avatar astromonk2013 commented on August 25, 2024

Could you please tell me if gem5-config.cfg still exists?Thanks

from ramulator.

i7mist avatar i7mist commented on August 25, 2024

We now use a unified config file for all modes, i.e. there isn't a config file specifically for gem5 now, and you can use the config file in configs dir.

from ramulator.

astromonk2013 avatar astromonk2013 commented on August 25, 2024

Thnaks, wanted to use the DDR3 config option.
Also getting a build error ramulator+gem5, any insights would be great:

build/ramulator/libramulator.a(Controller.os): In function ramulator::Controller<ramulator::ALDRAM>::update_temp(ramulator::ALDRAM::Temp)': build/ramulator/Ramulator/src/Controller.cpp:(.text+0x452): undefined reference toramulator::ALDRAM::aldram_timing(ramulator::ALDRAM::Temp)'
build/ramulator/libramulator.a(Controller.os): In function ramulator::Controller<ramulator::TLDRAM>::issue_cmd(ramulator::TLDRAM::Command, std::vector<int, std::allocator<int> > const&)': build/ramulator/Ramulator/src/Controller.cpp:(.text._ZN9ramulator10ControllerINS_6TLDRAMEE9issue_cmdENS1_7CommandERKSt6vectorIiSaIiEE[_ZN9ramulator10ControllerINS_6TLDRAMEE9issue_cmdENS1_7CommandERKSt6vectorIiSaIiEE]+0x1c0): undefined reference toramulator::TLDRAM::standard_name'
build/ramulator/Ramulator/src/Controller.cpp:(.text._ZN9ramulator10ControllerINS_6TLDRAMEE9issue_cmdENS1_7CommandERKSt6vectorIiSaIiEE[_ZN9ramulator10ControllerINS_6TLDRAMEE9issue_cmdENS1_7CommandERKSt6vectorIiSaIiEE]+0x1e0): undefined reference to `ramulator::TLDRAM::standard_name'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [build/X86/gem5.opt] Error 1
scons: building terminated because of errors.

from ramulator.

i7mist avatar i7mist commented on August 25, 2024

It's duplicate question. Please see this thread: #20

from ramulator.

astromonk2013 avatar astromonk2013 commented on August 25, 2024

Thanks a lot!!

from ramulator.

astromonk2013 avatar astromonk2013 commented on August 25, 2024

I tried to use the config files in configs like DDR3, HBM and TLDRAM , says bad config file
command line: ./build/X86/gem5.opt ./configs/example/se.py --mem-type=ramulator --ramulator-config=/home/ramulator-master/configs/HBM-config.cfg -c tests/test-progs/hello/bin/x86/linux/hello
Global frequency set at 1000000000000 ticks per second
gem5.opt: build/ramulator/Ramulator/src/Config.cpp:13: void ramulator::Config::parse(const string &): Assertion `file.good() && "Bad config file"' failed.
Program aborted at tick 0
Aborted (core dumped)
sobanerje@prodromou:~/gem5_mercurial/gem5-stable$ ./build/X86/gem5.opt ./configs/example/se.py --mem-type=ramulator --ramulator-config=/home/ramulator-master/configs/ALDRAM-config.cfg -c tests/test-progs/hello/bin/x86/linux/hello
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jan 21 2016 12:16:24
gem5 started Jan 21 2016 13:49:44
gem5 executing on prodromou
command line: ./build/X86/gem5.opt ./configs/example/se.py --mem-type=ramulator --ramulator-config=/home/ramulator-master/configs/ALDRAM-config.cfg -c tests/test-progs/hello/bin/x86/linux/hello
Global frequency set at 1000000000000 ticks per second
gem5.opt: build/ramulator/Ramulator/src/Config.cpp:13: void ramulator::Config::parse(const string &): Assertion `file.good() && "Bad config file"' failed.
Program aborted at tick 0
Aborted (core dumped)
sobanerje@prodromou:~/gem5_mercurial/gem5-stable$ ./build/X86/gem5.opt ./configs/example/se.py --mem-type=ramulator --ramulator-config=/home/ramulator-master/configs/TLDRAM-config.cfg -c tests/test-progs/hello/bin/x86/linux/hello
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jan 21 2016 12:16:24
gem5 started Jan 21 2016 13:49:52
gem5 executing on prodromou
command line: ./build/X86/gem5.opt ./configs/example/se.py --mem-type=ramulator --ramulator-config=/home/ramulator-master/configs/TLDRAM-config.cfg -c tests/test-progs/hello/bin/x86/linux/hello
Global frequency set at 1000000000000 ticks per second
gem5.opt: build/ramulator/Ramulator/src/Config.cpp:13: void ramulator::Config::parse(const string &): Assertion `file.good() && "Bad config file"' failed.
Program aborted at tick 0
Aborted (core dumped)

from ramulator.

astromonk2013 avatar astromonk2013 commented on August 25, 2024

This is the command i am using, please advice
./build/X86/gem5.opt ./configs/example/se.py --mem-type=ramulator --ramulator-config=/home/ramulator-master/configs/ALDRAM-config.cfg -c tests/test-progs/hello/bin/x86/linux/hello

from ramulator.

i7mist avatar i7mist commented on August 25, 2024

Hi, can you open another issue? The problem is not related with the original one

from ramulator.

astromonk2013 avatar astromonk2013 commented on August 25, 2024

SUre, apologize.Will open another issue

from ramulator.

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.