tukl-msd / DRAMSys

DRAMSys a SystemC TLM-2.0 based DRAM simulator.
Other
211 stars 54 forks source link

Issues with running DRAMSys #24

Closed junambi closed 1 year ago

junambi commented 1 year ago

I am setting up DRAMSys on my local machine. So followed the steps from the Readme. Steps followed

  1. Git clone
  2. cd DRAMsys
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make
  7. cd bin
  8. ./DRAMSys

Environment WSL2, Cmake 3.26.4 gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0,

output of uname Linux 5.15.90.1-microsoft-standard-WSL2 #1

output of Step 8 above

■ ■ ■ DRAMSys5.0, Copyright (c) 2023 ■ ■ ■ RPTU Kaiserslautern-Landau, ■ ■ ■ Fraunhofer IESE

=========================================================================== Memory Configuration:

Memory type: DDR4 Memory size in bytes: 4294967296 Channels: 1 Ranks per channel: 1 Bank groups per rank: 4 Banks per rank: 16 Rows per bank: 32768 Columns per row: 1024 Device width in bits: 8 Device size in bits: 4294967296 Device size in bytes: 536870912 Devices per rank: 8

=========================================================================== Used Address Mapping:

Bg 1: 0000000000000000000000000000000000100000000000000000000000000000 Bg 0: 0000000000000000000000000000000000010000000000000000000000000000 Ba 1: 0000000000000000000000000000000010000000000000000000000000000000 Ba 0: 0000000000000000000000000000000001000000000000000000000000000000 Ro 14: 0000000000000000000000000000000000001000000000000000000000000000 Ro 13: 0000000000000000000000000000000000000100000000000000000000000000 Ro 12: 0000000000000000000000000000000000000010000000000000000000000000 Ro 11: 0000000000000000000000000000000000000001000000000000000000000000 Ro 10: 0000000000000000000000000000000000000000100000000000000000000000 Ro 9: 0000000000000000000000000000000000000000010000000000000000000000 Ro 8: 0000000000000000000000000000000000000000001000000000000000000000 Ro 7: 0000000000000000000000000000000000000000000100000000000000000000 Ro 6: 0000000000000000000000000000000000000000000010000000000000000000 Ro 5: 0000000000000000000000000000000000000000000001000000000000000000 Ro 4: 0000000000000000000000000000000000000000000000100000000000000000 Ro 3: 0000000000000000000000000000000000000000000000010000000000000000 Ro 2: 0000000000000000000000000000000000000000000000001000000000000000 Ro 1: 0000000000000000000000000000000000000000000000000100000000000000 Ro 0: 0000000000000000000000000000000000000000000000000010000000000000 Co 9: 0000000000000000000000000000000000000000000000000001000000000000 Co 8: 0000000000000000000000000000000000000000000000000000100000000000 Co 7: 0000000000000000000000000000000000000000000000000000010000000000 Co 6: 0000000000000000000000000000000000000000000000000000001000000000 Co 5: 0000000000000000000000000000000000000000000000000000000100000000 Co 4: 0000000000000000000000000000000000000000000000000000000010000000 Co 3: 0000000000000000000000000000000000000000000000000000000001000000 Co 2: 0000000000000000000000000000000000000000000000000000000000100000 Co 1: 0000000000000000000000000000000000000000000000000000000000010000 Co 0: 0000000000000000000000000000000000000000000000000000000000001000 By 2: 0000000000000000000000000000000000000000000000000000000000000100 By 1: 0000000000000000000000000000000000000000000000000000000000000010 By 0: 0000000000000000000000000000000000000000000000000000000000000001

===========================================================================

Error: (E549) uncaught exception: stoull In file: /home/nambi/DRAMSys/build/_deps/systemc-src/src/sysc/kernel/sc_except.cpp:101

Please let me know if you require more information.

Thank you.

lsteiner-tukl commented 1 year ago

Hi, the problem is most likely that you are missing the Git LFS. Can you check the content of the .stl files in configs/traces? I assume they are empty. If you install Git LFS and clone the repo again it should work fine. Alternatively, you can manually download the .stl files.

junambi commented 1 year ago

Thank you that resolved the issue.

Closing.