Commit Graph

2702 Commits

Author SHA1 Message Date
ccc1bc73c4 Disable CMake diagnostics print 2023-08-09 14:57:29 +02:00
d392d0ab98 Write GeneralInfo table at the beginning
and do not include information in it that is only known at the end of
the simulation. These can trivially be calculated by the trace itself
and would be redundant information regardless.

The TraceAnalyzer gets the number of transactions and the length of
the trace by additional SQL queries.

This enables us to inspect traces of simulations that were aborted
without finishing cleanlywithout finishing cleanly.
2023-08-09 11:55:10 +02:00
a064f46413 Fix includes that cause build errors on some platforms 2023-08-03 15:04:39 +02:00
24654be952 Fix a timing issue in the traffic initiator
When the generator clock did not match the memory clock,
the generator always created a constant delay to the
next transaction.

This is not correct as due to rounding, the delay should be
one cycle more or less depending on the current simulation time.
2023-07-27 11:02:45 +02:00
085bfbd8de Don't create log file when debug is not enabled 2023-07-21 09:39:52 +02:00
14ecc64ed0 Introduce Simulator class 2023-07-14 14:31:03 +02:00
Lukas Steiner
cacbf59d96 Missing refactoring. 2023-06-30 16:04:23 +02:00
Lukas Steiner
12dcbfd917 Use scoped enums for DRAM types. 2023-06-30 15:49:41 +02:00
Lukas Steiner
4e0891affb Inherit privately from std::vector. 2023-06-26 16:32:39 +02:00
Lukas Steiner
413921f420 Minor formatting. 2023-06-22 10:19:34 +02:00
Lukas Steiner
c833471480 Use type safe index vectors in remaining controller. 2023-06-21 14:51:15 +02:00
Lukas Steiner
ba3f367676 Use type safe index vectors in timing checkers (2/2). 2023-06-21 12:59:26 +02:00
Lukas Steiner
d045af9d16 Use type safe index vectors in timing checkers (1). 2023-06-20 13:54:36 +02:00
b292305efa Merge branch 'bug/hbm3_checker' into 'develop'
Fix bug in checker, remove redundant checks.

See merge request ems/astdm/modeling.dram/dram.sys.5!31
2023-06-19 08:29:43 +00:00
Lukas Steiner
72f3d04189 Fix bug in checker, remove redundant checks. 2023-06-16 13:42:14 +02:00
Lukas Steiner
f3f9f9e8cd Merge branch 'bug/stl_exceptions' into 'develop'
Add checks for empty trace and catch conversion exceptions.

See merge request ems/astdm/modeling.dram/dram.sys.5!30
2023-06-15 14:45:09 +00:00
Lukas Steiner
4571de6b11 Merge branch 'bug/first_trans_start' into 'develop'
Remove check to issue first transaction at zero time.

See merge request ems/astdm/modeling.dram/dram.sys.5!29
2023-06-15 12:34:16 +00:00
Lukas Steiner
5463d9d54e Update readme. 2023-06-15 13:55:41 +02:00
Lukas Steiner
6e582907c0 Add checks for empty trace and catch conversion exceptions. 2023-06-15 11:32:51 +02:00
20f4f111ac Align next request to initiator clock period 2023-06-15 10:59:29 +02:00
Lukas Steiner
ec731888a3 Remove check to issue first transaction at zero time. 2023-06-12 10:29:25 +02:00
1208d3e799 Add BreakConstructorInitializers: AfterColon to .clang-format 2023-06-09 11:30:11 +02:00
60e0c6794c Format .clang-tidy and .clang-format 2023-06-09 11:29:35 +02:00
0073331948 Use left pointer alignment in .clang-format 2023-06-09 11:29:35 +02:00
9799748ed2 Disable readability-function-cognitive-complexity clang-tidy check 2023-06-09 11:29:35 +02:00
55bbaf632d Fix incorrect copyright disclaimer in Cache 2023-06-09 11:29:35 +02:00
3ce54b8faa Fix readability-misleading-indentation warnings 2023-06-09 11:29:35 +02:00
32e828d254 Fix cppcoreguidelines-special-member-functions warnings 2023-06-09 11:29:35 +02:00
093ee73d54 Add .clang-tidy and .clang-format configurations 2023-06-09 11:29:35 +02:00
a9759f51fa Enable warnings in dev preset and fix them 2023-06-09 11:29:15 +02:00
ad96e3ba14 Apply default clang-tidy fixes 2023-06-09 11:29:12 +02:00
2d590fda0d Apply clang-tidy readability-named-parameter fixes 2023-06-09 11:17:57 +02:00
5d8d7c197e Apply clang-tidy readability-* fixes 2023-06-09 11:17:57 +02:00
8bac84577f Apply clang-tidy modernize-* fixes 2023-06-09 11:17:57 +02:00
79a54f11f6 Apply clang-tidy modernize-use-* fixes 2023-06-09 11:17:57 +02:00
77decb70ec Apply clang-tidy modernize-use-nodiscard fixes 2023-06-09 11:17:57 +02:00
Lukas Steiner
6f7ca94d27 Move pct files to scripts folder. 2023-05-26 15:48:21 +02:00
Lukas Steiner
71172f9545 Remove old files, move pct to extensions. 2023-05-26 15:39:06 +02:00
Lukas Steiner
20f6aae787 Replace tabs with whitespaces. 2023-05-25 16:09:55 +02:00
Lukas Steiner
b3955d6d02 Update TUK to RPTU. 2023-05-25 15:15:52 +02:00
Lukas Steiner
13603f9c59 Merge branch 'feat/cmake_defaults' into 'develop'
Set cmake defaults, replace TUK with RPTU.

See merge request ems/astdm/modeling.dram/dram.sys.5!25
2023-05-23 14:52:56 +00:00
Lukas Steiner
4212e55f6c Set cmake defaults, replace TUK with RPTU. 2023-05-23 16:47:03 +02:00
Lukas Steiner
93aecc3555 Merge branch 'gem5_instructions' into 'develop'
Add instructions for the new gem5 integration

See merge request ems/astdm/modeling.dram/dram.sys.5!23
2023-05-23 13:12:07 +00:00
Lukas Steiner
e389474139 Remove deprecated gem5 files. 2023-05-23 14:53:06 +02:00
Lukas Steiner
ea40721ac0 Merge branch 'work/namespacing' into 'develop'
Namespace the complete DRAMSys library

See merge request ems/astdm/modeling.dram/dram.sys.5!21
2023-05-23 12:31:44 +00:00
Lukas Steiner
fdb51f71ec Merge branch 'work/pybind' into 'develop'
Switch to pybind11 in TraceAnalyzer

See merge request ems/astdm/modeling.dram/dram.sys.5!19
2023-05-23 12:24:11 +00:00
Lukas Steiner
43706ca930 Build Trace Analyzer by default if extensions are enabled. 2023-05-23 12:11:39 +00:00
Lukas Steiner
cf0cd972a2 Merge branch 'feat/find_systemc' into 'develop'
Find preinstalled SystemC library with FetchContent.

See merge request ems/astdm/modeling.dram/dram.sys.5!24
2023-05-23 11:57:15 +00:00
Lukas Steiner
0da9b6d14a Update readme. 2023-05-23 13:53:51 +02:00
Lukas Steiner
0419bf3905 Update minimum CMake version. 2023-05-23 13:37:09 +02:00