Commit Graph

2092 Commits

Author SHA1 Message Date
55ad6639f2 Fix a bug where more transactions were simulated than specified 2022-02-07 11:05:12 +01:00
5c0b08246e Introduce a event-based system to start statemachines
State machines can now optionally be started by other state machines
when they transition into a certain state.
The field "notify" was added to send a event with the specified name
when the transition happens.
The other state machine can listen to those events by adding the
"idleUntil" field to the definition.
2022-02-07 11:05:12 +01:00
3dbb089dcb Add an idle state to the state machine
A state with the field "idleClks" is a state that forces
the TrafficGenerator to idle the specified amount of clocks.
2022-02-07 11:05:12 +01:00
e1e2e9c0f9 Add clksPerRequest field to state definition 2022-02-07 11:05:12 +01:00
2540c9d194 Implement maxTransactions for TrafficGenerator SM 2022-02-07 11:05:12 +01:00
696e9c17d7 Introduce a state machine design for TrafficGenerators
Its now possible to design TrafficGenerators in a state machine style.
Each state can have different configurations and the transitions are
defined as propabilities, which makes the design very flexible.
2022-02-07 11:05:12 +01:00
7127a753af Implement Json serializing/deserializing for new state machines 2022-02-07 11:05:12 +01:00
de4cb1be66 Fix bug regarding addressIncrement 2022-02-07 11:05:12 +01:00
335993e9fe Update authors 2022-02-07 11:05:12 +01:00
bb0aba0758 Various fixes
- Don't use unordered sets for addressmapping
	- Don't use unordered sets for tracesetup
	- XOR bits weren't added
	- NoRefresh policy was fixed
2022-02-07 11:05:12 +01:00
71eed44060 Make resource path configurable in TraceAnalyzer 2022-02-07 11:05:12 +01:00
5c300a2cfe Fix compilation failure 2022-02-07 11:05:12 +01:00
3d0e321075 Introduce a gui simulation dialog in TraceAnalyzer
A simulation dialog is added to the TraceAnalyzer that can be used
to directly load a json config, edit it and start a simulation
based on the changes that were made, even without saving again.
The simulation results are opened directly after suceeding.
2022-02-07 11:05:12 +01:00
7d21f3befe Add a converter for the new json format 2022-02-07 11:05:12 +01:00
ce7121b428 Port to the new Json configuration library
The DRAMSysLibrary and the Simulator were now ported
to support the new configuration library.
2022-02-07 11:05:09 +01:00
778b974c0f Introduce an own optional type for configuration lib 2022-02-07 11:04:17 +01:00
70c58ccc63 Make configuration library backwards compatible
It's now possible to either directly insert the configuration objects
into the main config json (new format) or just to enter the json file
names to the configurations (old format).
2022-02-07 11:04:17 +01:00
9935abe28a Introduce a common json configuration library
This new configuration library is capable of parsing DRAMSys config
jsons and generating them.
The "Configuration" struct contains the complete configuration required
for simulation.
The library will be used in future in DRAMSys itself and also in the
TracePlayer, gem5 player, TraceAnalyzer and all other tools that
use DRAMSys as a library.
2022-02-07 11:04:17 +01:00
Lukas Steiner
98962159ef Merge branch 'work/metric_fix' into 'develop'
Fix metric delayed_reasons malformed output

See merge request ems/astdm/modeling.dram/dram.sys!338
2022-02-01 09:34:02 +00:00
b4259fc886 Fix metric delayed_reasons malformed output 2022-01-31 10:51:47 +01:00
Lukas Steiner
3324485fe9 Merge branch 'work/formatting' into 'develop'
Don't use scientific notation when formatting tracetime

See merge request ems/astdm/modeling.dram/dram.sys!337
2022-01-13 14:55:47 +00:00
3cc700adc4 Don't use scientific notation when formatting tracetime 2022-01-13 10:41:21 +01:00
Lukas Steiner
171fc19e7e Correct error in timing configuration. 2022-01-11 07:57:43 +00:00
Lukas Steiner
9bb28525ee Merge branch 'LPDDR4_devices' into 'develop'
Add device parameter to non-DIMM standards

See merge request ems/astdm/modeling.dram/dram.sys!336
2022-01-10 09:17:17 +00:00
Lukas Steiner
45b13fcf6c Change devices in test files. 2022-01-10 09:40:46 +01:00
Lukas Steiner
54b67ac653 Add number of devices to all standards and memspec files, add GB/s output. 2022-01-07 11:50:14 +01:00
Lukas Steiner
eba6d4fd43 Merge branch 'new_commands' into 'develop'
Merge LPDDR5 into develop (corrected)

See merge request ems/astdm/modeling.dram/dram.sys!334
2021-12-14 08:02:29 +00:00
Lukas Steiner
c708be375f Add LPDDR5 simulation files. 2021-12-13 15:19:48 +01:00
Lukas Steiner
0e3ac61979 Add LP5 source files. 2021-12-13 11:38:08 +01:00
Lukas Steiner
b67b1a19e5 Merge branch 'new_commands' into 'develop'
Add new commands for LPDDR5.

See merge request ems/astdm/modeling.dram/dram.sys!332
2021-12-07 14:31:15 +00:00
Lukas Steiner
4e1407eb51 Update Python scripts to new commands. 2021-12-07 15:10:56 +01:00
Lukas Steiner
73cba6b1f6 Update expected test results. 2021-12-07 09:54:18 +01:00
Lukas Steiner
b8dff6208c Add new commands and DB fields on TA side. 2021-12-06 17:06:14 +01:00
Lukas Steiner
af3510e5d4 Introduce new phases on simulator side. 2021-12-06 14:17:48 +01:00
Lukas Steiner
c7f39151c8 Adapt simulator to new commands. 2021-12-03 14:46:45 +01:00
Lukas Steiner
56e6fd31a3 Introduce new commands on simulator side. 2021-12-03 09:36:39 +01:00
Lukas Steiner
903ccdb083 Merge branch 'iron-TA-DependencyDrawing2' into 'develop'
Dependency Drawings

See merge request ems/astdm/modeling.dram/dram.sys!325
2021-11-23 08:44:26 +00:00
Iron Prando da Silva
90aae753a6 Dependency infos tab will remain empty if dependencies table is not available. 2021-11-15 11:47:51 +01:00
Iron Prando da Silva
82fb529f53 Adding disclaimers and signing. 2021-11-15 11:41:59 +01:00
Iron Prando da Silva
eea5dd80f7 Added graying out of the dependency submenu. 2021-11-15 11:28:50 +01:00
Iron Prando da Silva
19a0b9d2ce Code formatting. 2021-11-11 13:18:25 +01:00
Iron Prando da Silva
c895c96b44 Missed some potentially unnecessary database queries of the dependencies. 2021-11-11 10:39:13 +01:00
Iron Prando da Silva
6a260ef860 Corrected plot update when dependency vis settings are changed. 2021-11-11 10:11:39 +01:00
Iron Prando da Silva
75933df6f4 Minor naming conflict. 2021-11-11 09:17:20 +01:00
Iron Prando da Silva
2314057f7b Updating dependency metadata only when visualization option is set. 2021-11-11 09:14:56 +01:00
Iron Prando da Silva
706db2f44c Added dependency information tab. 2021-11-05 10:55:30 +01:00
Lukas Steiner
39593b1ef8 Merge branch 'work/icon_about_menu' into 'develop'
Add application icon to TraceAnalyzer and add an about dialog.

See merge request ems/astdm/dram.sys!328
2021-11-05 08:53:44 +00:00
Lukas Steiner
3eaee8c7fc Merge branch 'work/group_by_actiongroup' into 'develop'
Add "group by" actions to an action group

See merge request ems/astdm/dram.sys!327
2021-11-05 08:45:55 +00:00
Lukas Steiner
fc7599a794 Merge branch 'work/bandwidth_doubleclick' into 'develop'
Navigate to tracetime when analysis plot is doubleclicked

See merge request ems/astdm/dram.sys!326
2021-11-05 08:41:26 +00:00
Iron Prando da Silva
0be4e0d6fb Began adding DependencyInfos. 2021-11-04 13:12:26 +01:00