43 Commits

Author SHA1 Message Date
2b51814441 feat(python): introduce dramsys Python package
Move all Python scripts out of the Trace Analyzer into a generic dramsys
package. To use the dramsys Python module in the Trace Analyzer, the user
is expected to install the package into a virtual environment together
with its dependencies.

The Python package also makes the follwing binaries available:
- dramsys_metrics
- dramsys_plots
- dramsys_tests
- dramsys_vcd_export
2025-12-03 19:04:57 +01:00
d2b2558fc2 refactor: remove deprecated pearl scripts 2025-12-03 19:04:57 +01:00
ee2a9c19f5 Better support for dark theme 2025-10-11 11:42:03 +02:00
34cfc911ae Check all dependencies per default 2025-10-11 11:42:03 +02:00
29dc3b1539 Fix Python metrics in Trace Analyzer 2025-10-11 11:41:58 +02:00
Matthias Jung
5e2f5331c4 fix: PASSFUNCTIONDEL 2025-10-10 10:21:04 +02:00
Matthias Jung
305589c902 fix: fix assigment in pool controller 2025-10-10 10:21:04 +02:00
591b5b65c2 Move closed-source standard configs to extensions 2025-08-06 08:44:15 +02:00
marcomoerz
4120e9c35b Integrate DRAMUtils and new DRAMPower 2025-05-09 16:45:54 +02:00
7431f79ac3 Use proprietary license text in extension files 2025-02-21 15:11:37 +01:00
a37171c6fd Remove file globs from CMakeLists
Fix build
2024-12-20 17:40:15 +01:00
e74a617273 Crude fix for bandwidth calculations with pseudo-channels 2024-11-15 15:57:37 +01:00
e21b051fb5 Fix compilation errors on some systems 2024-09-09 11:29:39 +02:00
82027bfa83 Move Trace Analyzer to open source tree
Move the code for the Trace Analyzer to the open source tree and only
keep the extensions behind a compiler flag.
2024-07-18 10:13:25 +02:00
Lukas Steiner
cfd980373b Merge branch 'third-party' into 'develop'
Add notice file for all used third party work

See merge request ems/astdm/modeling.dram/dram.sys.5!69
2024-07-18 07:52:26 +00:00
f70c813140 Add notice file for all used third party work 2024-06-20 11:48:54 +02:00
12bfba1fb3 Fix various bugs
- Fix data race for some tests by disabling database recording
- Fix undefined behaviour in configuration test
- Port clkMhz to tCK for simulation script
- Port memUtil Python script to tCK with backwards compatibility
2024-02-26 09:58:19 +01:00
3481703e6e Fix a bug where plotting failed with more than 1 thread 2023-11-07 09:50:10 +01:00
Lukas Steiner
5226b87a78 Merge branch 'fix_pyhton_scripts' into 'develop'
Numerous fixes for Python scripts

See merge request ems/astdm/modeling.dram/dram.sys.5!52
2023-10-20 07:52:26 +00:00
d2761ce060 Numerous fixes for Python scripts 2023-10-12 11:58:18 +02:00
d2e5bd36de Fix all warnings 2023-09-22 10:45:23 +02:00
f518ba883f Fix PseudoChannel issue in TA 2023-09-21 09:22:28 +02:00
c07d09f392 Format all files 2023-08-29 09:26:25 +02:00
a539e3c011 Merge branch 'develop' into work/partial_writes 2023-08-23 09:31:42 +02:00
a0f93a75e2 Merge develop 2023-08-21 10:01:08 +02:00
09275bb789 Add support for MWR and MWRA to TraceAnalyzer 2023-08-16 09:38:57 +02:00
Lukas Steiner
5598d53ebd Merge branch 'cmake_debug' into 'develop'
Disable CMake diagnostics print

See merge request ems/astdm/modeling.dram/dram.sys.5!40
2023-08-15 09:28:28 +00:00
Lukas Steiner
56c9f5f5f0 Merge branch 'initialize_generalinfotable' into 'develop'
Write GeneralInfo table at the beginning

See merge request ems/astdm/modeling.dram/dram.sys.5!39
2023-08-14 13:33:40 +00:00
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
14ecc64ed0 Introduce Simulator class 2023-07-14 14:31:03 +02:00
093ee73d54 Add .clang-tidy and .clang-format configurations 2023-06-09 11:29:35 +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
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
edd52e0fe1 Switch to pybind11
With the switch to pybind11, the complexity of the Python integration
in the TraceAnalyzer can be greatly reduced. The new code is much
easier to understand and fixes a number of bugs regarding the Python
integration.
2023-05-17 11:41:44 +02:00
d27a29ca80 Refactor configuration library
The configuration library has been refactored to make use of nlohmann
macros to reduce boilerplate code.
The nlohmann parser callback is used to decide whether to include
configuration json objects directly, or if they need to be loaded
from a sperate file.
2023-04-13 11:18:39 +02:00
6cb2128612 Update plots python script to new database layout 2023-03-24 09:18:06 +01:00
b3277b2e52 Revert the design choice of making the PythonCaller a static singleton 2023-03-07 11:39:16 +01:00
Lukas Steiner
e848d776cc Fix Trace Analyzer cmake. 2023-02-22 17:11:17 +01:00
Lukas Steiner
fe08c833c8 Make Trace Analyzer run again. 2023-02-22 15:18:58 +01:00
Thomas Psota
f434026ccd Added extension mechanism and ported DDR5, LPDDR5, HBM3, TraceAnalyzer 2023-02-09 14:22:34 +01:00