Commit Graph

2616 Commits

Author SHA1 Message Date
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
Lukas Steiner
317158b57a Merge branch 'update_readme' into 'develop'
Update the Readme in regards to CMake configuration

See merge request ems/astdm/modeling.dram/dram.sys.5!68
2024-07-18 07:50:47 +00:00
Lukas Steiner
3d9d12ea65 Merge branch 'buffer_warning' into 'develop'
Add a warning when RequestBufferSize is configured together with ReadWrite SchedulerBuffer

See merge request ems/astdm/modeling.dram/dram.sys.5!67
2024-07-18 07:49:40 +00:00
Lukas Steiner
9d2be300f6 Merge branch 'cmake_refactor' into 'develop'
Refactor CMakeLists and GitLab CI/CD pipeline

See merge request ems/astdm/modeling.dram/dram.sys.5!71
2024-07-11 12:32:00 +00:00
Lukas Steiner
24f8023d39 Merge branch 'bug/lp5_checker' into 'develop'
Fix wrong command dependency.

See merge request ems/astdm/modeling.dram/dram.sys.5!72
2024-07-05 11:04:09 +00:00
Lukas Steiner
5a90c017d9 Fix wrong command dependency. 2024-07-05 08:11:39 +00:00
f6ebf440fc Update the Readme in regards to CMake configuration 2024-06-28 11:20:40 +02:00
5dd7c22a74 Refactor CMakeLists and GitLab CI/CD pipeline
- Remove nested minimum required to supress warnings.
- Declare SystemC as system library to supress warnings in headers.
- Add a BUILD_SHARED_LIBS option
- Remove hardcoded STATIC in various add_library calls to honor the
  BUILD_SHARED_LIBS option
- Remove _deps/ directory from the build directory in GitLab pipeline
- Remove *.tdb files after test stage in pipeline
- Set Ninja as the default generator for the dev preset and re-enable
  colored diagnostics
2024-06-28 11:07:56 +02:00
Lukas Steiner
3159cf038b Merge branch 'fix/bugs' into 'develop'
Fix various bugs

See merge request ems/astdm/modeling.dram/dram.sys.5!66
2024-06-28 07:46:03 +00:00
f70c813140 Add notice file for all used third party work 2024-06-20 11:48:54 +02:00
7274770a0f Add a warning when RequestBufferSize is configured together with ReadWrite SchedulerBuffer 2024-05-08 10:09:20 +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
Lukas Steiner
41f683619d Merge branch 'simulationscript' into 'develop'
Introduce powerful simulation script and provide an example

See merge request ems/astdm/modeling.dram/dram.sys.5!65
2024-02-23 14:29:43 +00:00
Lukas Steiner
5b4ed9559d Merge branch 'config_refactor' into 'develop'
Configuration Refactoring

See merge request ems/astdm/modeling.dram/dram.sys.5!63
2024-02-23 14:29:06 +00:00
Lukas Steiner
d0c3c04098 Merge branch 'clock_period' into 'develop'
Migrate from clkMhz to tCK (in ps) in memspecs

Closes #28

See merge request ems/astdm/modeling.dram/dram.sys.5!62
2024-02-23 14:25:16 +00:00
539a525f3d Fix DDR3 regression
Using the new tCK entry in the memspecs, there was a small power deviation in the database
2024-02-23 12:04:29 +01:00
0ec6ea79ad Migrate from clkMhz to tCK entry in memspecs 2024-02-23 12:04:22 +01:00
1a2e5497ee Fix AddressDecoderTest 2024-02-23 11:59:50 +01:00
3925c5be55 Remove unused ReorderBuffer 2024-02-23 11:54:51 +01:00
59cf73fe9c Clean up public API (DRAMSys.h)
Remove DRAMSysRecordable.h/cpp as the functionality has been incorporated into
DRAMSys.h/cpp. The databaseRecording config is now completely handled by
DRAMSys itself without needing the user of the library to instanciate DRAMSys
or DRAMSysRecordable depending on this config.
2024-02-23 11:54:51 +01:00
5391b4351d Fix configuration tests 2024-02-23 11:54:51 +01:00
454cb00ddb Refactor: remove monolithic configuration class 2024-02-23 11:54:51 +01:00
d92ea325c3 Remove ControllerIF.h
It provided no advantage and made things unecessary complicated
2024-02-23 11:49:08 +01:00
26b418124e Introduce powerful simulation script and provide an example 2024-02-23 11:41:04 +01:00
Lukas Steiner
5eabecc9f9 Merge branch 'odr_fix' into 'develop'
Fix ODR violation of Dram and DramRecordable

See merge request ems/astdm/modeling.dram/dram.sys.5!64
2024-02-23 09:05:50 +00:00
Lukas Steiner
c7a4e31f2f Merge branch 'work/addressdecoder' into 'develop'
Add support for arbitrary XOR address manipulation

See merge request ems/astdm/modeling.dram/dram.sys.5!60
2024-02-23 08:33:59 +00:00
Lukas Steiner
6f1776045b Merge branch 'refactored_dram' into 'develop'
Introduce executeRead() and executeWrite() functions

See merge request ems/astdm/modeling.dram/dram.sys.5!59
2024-02-23 08:24:57 +00:00
60d3e7618b Fix ODR violation of Dram and DramRecordable
The compiler flag DRAMPower was not propagated to downstream projects,
leading to an ODR violation of the classes Dram and DramRecordable
2024-02-08 11:47:34 +01:00
Lukas Steiner
027b6495e3 Update README.md 2024-01-31 09:33:00 +00:00
7b743db820 Add simple benchmark of full DDR3 simulation 2023-12-14 10:04:45 +01:00
99b42da752 Move sc_main into own file for benchmarks 2023-12-13 13:46:04 +01:00
02fad39d8a Add encode benchmark 2023-12-13 13:36:06 +01:00
1ba63bd1f7 Add support for more than two XOR bits 2023-12-13 10:32:03 +01:00
a89f4a3065 Introduce benchmark support using Google Benchmark 2023-12-11 11:33:11 +01:00
ed2a675145 Extract plausability check from AddressDecoder to separate function 2023-12-11 10:32:39 +01:00
6e0110190e Introduce executeRead() and executeWrite() functions 2023-11-20 16:22:02 +01:00
Lukas Steiner
0b88161640 Merge branch 'DramCleanup' into 'develop'
Introduce method to convert memspecs to DRAMPower memspecs and cleanup source files

See merge request ems/astdm/modeling.dram/dram.sys.5!58
2023-11-16 13:25:16 +00:00
Lukas Steiner
9452746bc8 Merge branch 'RWBuffer' into 'develop'
Add RequestBufferSizeRead and RequestBufferSizeWrite configurations for ReadWrite Buffer

See merge request ems/astdm/modeling.dram/dram.sys.5!57
2023-11-16 13:23:37 +00:00
Lukas Steiner
d2aab9832a Merge branch 'fix/plots' into 'develop'
Fix a bug where plotting failed with more than 1 thread

See merge request ems/astdm/modeling.dram/dram.sys.5!56
2023-11-16 13:21:12 +00:00
Lukas Steiner
335b17a94c Merge branch 'systemc_findpackage' into 'develop'
Introduce CMake option to build with external SystemC

See merge request ems/astdm/modeling.dram/dram.sys.5!55
2023-11-16 13:20:50 +00:00
6645a9ed54 Introduce method to convert memspecs to DRAMPower memspecs and cleanup source files 2023-11-14 14:57:25 +01:00
74a9155993 Add RequestBufferSizeRead and RequestBufferSizeWrite configurations for ReadWrite Buffer 2023-11-14 11:00:28 +01:00
3481703e6e Fix a bug where plotting failed with more than 1 thread 2023-11-07 09:50:10 +01:00
8d4dcfddd3 Introduce CMake option to build with external SystemC 2023-11-02 10:16:53 +01:00
Lukas Steiner
1050019db6 Merge branch 'LFS' into 'develop'
Git LFS / SystemC

See merge request ems/astdm/modeling.dram/dram.sys.5!53
2023-10-31 15:40:19 +00:00
dc33697e21 Only use available SystemC when SYSTEMC_HOME env is set 2023-10-30 10:17:22 +01:00
de20ad5664 Update the README to include Git LFS instructions 2023-10-30 10:02:37 +01:00
ea4e6fa33e Update Git LFS to not track .stl files in config 2023-10-27 11:50:14 +02: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