Skip to content

Commit 3616f6b

Browse files
authored
Merge pull request #71 from onera/19-wording-for-scenario-and-transaction
19 wording for scenario and transaction
2 parents 2f837a5 + 254b1d1 commit 3616f6b

File tree

65 files changed

+1027
-1572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1027
-1572
lines changed

src/main/scala/onera/pmlanalyzer/pml/examples/mySys/MySysExport.scala

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@
1818
package onera.pmlanalyzer.pml.examples.mySys
1919

2020
import onera.pmlanalyzer.pml.exporters.*
21-
import onera.pmlanalyzer.pml.model.utils.Message
2221
import onera.pmlanalyzer.pml.operators.*
2322
import onera.pmlanalyzer.views.interference.examples.mySys.{
24-
MySysInterferenceSpecification,
25-
MyProcInterferenceSpecification
23+
MyProcInterferenceSpecification,
24+
MySysInterferenceSpecification
2625
}
2726
import onera.pmlanalyzer.views.interference.exporters.*
28-
import onera.pmlanalyzer.views.interference.operators.*
2927

3028
/** Program entry point to export several version of Keystone
3129
*/
@@ -76,7 +74,7 @@ object MySysExport extends App {
7674
MySys.exportDeactivatedComponents()
7775

7876
// Export the transactions defined by the user
79-
MySys.exportUserScenarios()
77+
MySys.exportUserTransactions()
8078

8179
MySys.exportSemanticsSize()
8280

src/main/scala/onera/pmlanalyzer/pml/examples/mySys/MySysTransactionLibrary.scala

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,14 @@
1717

1818
package onera.pmlanalyzer.pml.examples.mySys
1919

20-
import onera.pmlanalyzer.pml.model.configuration.TransactionLibrary
21-
import onera.pmlanalyzer.pml.operators.*
2220
import onera.pmlanalyzer.pml.model.configuration.*
21+
import onera.pmlanalyzer.pml.operators.*
2322

2423
import scala.language.postfixOps
2524

2625
/** This trait contains a library of all transactions that can occur on the
2726
* platform One way to define a
28-
* [[onera.pmlanalyzer.pml.model.configuration.TransactionLibrary.Transaction]] or a
29-
* [[onera.pmlanalyzer.pml.model.configuration.TransactionLibrary.Scenario]] is to use the
27+
* [[onera.pmlanalyzer.pml.model.configuration.Transaction]] is to use the
3028
* read/write operators specifying which [[pml.model.software.Data]] is used by
3129
* which [[pml.model.software.Application]]. For instance
3230
* {{{val app4_wr_input_d : Transaction = Transaction(app4 write input_d)}}}
@@ -35,12 +33,12 @@ import scala.language.postfixOps
3533
* the data are provided in the [[MySysSoftwareAllocation]] trait.
3634
*
3735
* If you want to define several paths representing a multi-transaction use the
38-
* [[onera.pmlanalyzer.pml.model.configuration.TransactionLibrary.Scenario]] For instance
39-
* {{{val app1_rd_wr_L1 : Scenario = Scenario(app1_rd_L1, app1_wr_L1)}}}
40-
* defines a scenario named '''app1_rd_wr_L1''' where app1 is reading and
36+
* [[onera.pmlanalyzer.pml.model.configuration.Transaction]] For instance
37+
* {{{val app1_rd_wr_L1 : Transaction = Transaction(app1_rd_L1, app1_wr_L1)}}}
38+
* defines a transaction named '''app1_rd_wr_L1''' where app1 is reading and
4139
* writing L1 cache
4240
* @note
43-
* A transaction or a scenario is only '''declared''' here, it will be
41+
* A transaction or a transaction is only '''declared''' here, it will be
4442
* considered during the interference analysis if it is actually used. This
4543
* is done in the [[MySysTransactionLibrary]] files. A transaction
4644
* should be a path from an initiator to a target, if several paths are
@@ -69,9 +67,9 @@ trait MySysTransactionLibrary extends TransactionLibrary {
6967
/** t13: [[MySysSoftwareAllocation.app1]] runs using [[MyProcPlatform.ARM0]]
7068
* cache
7169
*
72-
* @group scenario_def
70+
* @group transaction_def
7371
*/
74-
val t13: Scenario = Scenario(app1_rd_L1, app1_wr_L1)
72+
val t13: Transaction = Transaction(app1_rd_L1, app1_wr_L1)
7573

7674
/** t14: [[MySysSoftwareAllocation.app1]] it stores its output data in
7775
* [[MyProcPlatform.ddr]]
@@ -120,11 +118,11 @@ trait MySysTransactionLibrary extends TransactionLibrary {
120118
/** t31: When woke up, [[MySysSoftwareAllocation.app3]] reads the
121119
* [[MyProcPlatform.spi]] frame from [[MyProcPlatform.MemorySubsystem.sram]]
122120
* and transfers it to [[MyProcPlatform.spi]]
123-
* @group scenario_def
121+
* @group transaction_def
124122
*/
125123
private val readFrame = Transaction(app3 read spi_frame)
126124
private val writeFrame = Transaction(app3 write output_spi_frame)
127-
val t31: Scenario = Scenario(readFrame, writeFrame)
125+
val t31: Transaction = Transaction(readFrame, writeFrame)
128126

129127
/** t41: Each time an [[MyProcPlatform.eth]] frame arrives, it transfers the
130128
* payload of the frame to [[MyProcPlatform.MemorySubsystem.sram]]

src/main/scala/onera/pmlanalyzer/pml/examples/mySys/mySys.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package onera.pmlanalyzer.pml.examples
2222
* [[MyProcPlatform]] for examples of [[pml.model.hardware.Hardware]]
2323
* modelling features [[MySysSoftwareAllocation]] for examples of
2424
* [[pml.model.software.Application]] modelling features
25-
* [[MySysTransactionLibrary]] for examples of transaction/scenario modelling
25+
* [[MySysTransactionLibrary]] for examples of transaction modelling
2626
* features [[MySysLibraryConfiguration]] for example of transaction library
2727
* configuration [[MySysExport]] for examples of platform instantiation and
2828
* [[pml.exporters]] usage

src/main/scala/onera/pmlanalyzer/pml/examples/riscv/FU740/pml/FU740BenchmarkLibrary.scala

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
package onera.pmlanalyzer.pml.examples.riscv.FU740.pml
1919

2020
import onera.pmlanalyzer.pml.model.configuration.*
21-
import onera.pmlanalyzer.pml.model.configuration.TransactionLibrary.{
22-
UserScenarioId,
23-
UserTransactionId
24-
}
2521
import onera.pmlanalyzer.pml.operators.*
2622

2723
import scala.language.postfixOps
@@ -33,37 +29,37 @@ trait FU740BenchmarkLibrary extends FU740TransactionLibrary {
3329
val Hart_0_Store_L1D: Transaction = Transaction(t0_1)
3430
val Hart_0_Load_L2: Transaction = Transaction(t0_2)
3531
val Hart_0_Store_L2: Transaction = Transaction(t0_3)
36-
val Hart_0_Load_DDR_b0: Scenario = Scenario(t0_4)
37-
val Hart_0_Store_DDR_b0: Scenario = Scenario(t0_5)
32+
val Hart_0_Load_DDR_b0: Transaction = Transaction(t0_4)
33+
val Hart_0_Store_DDR_b0: Transaction = Transaction(t0_5)
3834

3935
val Hart_1_Load_L1D: Transaction = Transaction(t1_0)
4036
val Hart_1_Store_L1D: Transaction = Transaction(t1_1)
4137
val Hart_1_Load_LIM: Transaction = Transaction(t1_4)
4238
val Hart_1_Store_LIM: Transaction = Transaction(t1_5)
43-
val Hart_1_Load_L2: Scenario = Scenario(t1_2)
44-
val Hart_1_Store_L2: Scenario = Scenario(t1_3)
45-
val Hart_1_Load_DDR_b0: Scenario = Scenario(t1_6)
46-
val Hart_1_Store_DDR_b0: Scenario = Scenario(t1_7)
39+
val Hart_1_Load_L2: Transaction = Transaction(t1_2)
40+
val Hart_1_Store_L2: Transaction = Transaction(t1_3)
41+
val Hart_1_Load_DDR_b0: Transaction = Transaction(t1_6)
42+
val Hart_1_Store_DDR_b0: Transaction = Transaction(t1_7)
4743

4844
val Hart_2_Load_L1D: Transaction = Transaction(t2_0)
4945
val Hart_2_Store_L1D: Transaction = Transaction(t2_1)
50-
val Hart_2_Load_L2: Scenario = Scenario(t2_2)
51-
val Hart_2_Store_L2: Scenario = Scenario(t2_3)
52-
val Hart_2_Load_DDR_b0: Scenario = Scenario(t2_4)
53-
val Hart_2_Store_DDR_b0: Scenario = Scenario(t2_5)
46+
val Hart_2_Load_L2: Transaction = Transaction(t2_2)
47+
val Hart_2_Store_L2: Transaction = Transaction(t2_3)
48+
val Hart_2_Load_DDR_b0: Transaction = Transaction(t2_4)
49+
val Hart_2_Store_DDR_b0: Transaction = Transaction(t2_5)
5450

5551
val Hart_3_Load_L1D: Transaction = Transaction(t3_0)
5652
val Hart_3_Store_L1D: Transaction = Transaction(t3_1)
57-
val Hart_3_Load_L2: Scenario = Scenario(t3_2)
58-
val Hart_3_Store_L2: Scenario = Scenario(t3_3)
59-
val Hart_3_Load_DDR_b0: Scenario = Scenario(t3_4)
60-
val Hart_3_Store_DDR_b0: Scenario = Scenario(t3_5)
53+
val Hart_3_Load_L2: Transaction = Transaction(t3_2)
54+
val Hart_3_Store_L2: Transaction = Transaction(t3_3)
55+
val Hart_3_Load_DDR_b0: Transaction = Transaction(t3_4)
56+
val Hart_3_Store_DDR_b0: Transaction = Transaction(t3_5)
6157

6258
val Hart_4_Load_L1D: Transaction = Transaction(t4_0)
6359
val Hart_4_Store_L1D: Transaction = Transaction(t4_1)
64-
val Hart_4_Load_L2: Scenario = Scenario(t4_2)
65-
val Hart_4_Store_L2: Scenario = Scenario(t4_3)
66-
val Hart_4_Load_DDR_b0: Scenario = Scenario(t4_4)
67-
val Hart_4_Store_DDR_b0: Scenario = Scenario(t4_5)
60+
val Hart_4_Load_L2: Transaction = Transaction(t4_2)
61+
val Hart_4_Store_L2: Transaction = Transaction(t4_3)
62+
val Hart_4_Load_DDR_b0: Transaction = Transaction(t4_4)
63+
val Hart_4_Store_DDR_b0: Transaction = Transaction(t4_5)
6864

6965
}

src/main/scala/onera/pmlanalyzer/pml/examples/riscv/FU740/pml/FU740Export.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ object FU740Export extends App {
127127
// Export the transactions defined by the user
128128
p.exportUserTransactions()
129129

130-
// Export the scenarios defined by the user
131-
p.exportUserScenarios()
132-
133130
// Export the service graph taking into account service interference
134131
p.exportRestrictedServiceGraphWithInterfere()
135132
}

src/main/scala/onera/pmlanalyzer/pml/examples/riscv/FU740/pml/FU740TransactionLibrary.scala

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,19 @@ package onera.pmlanalyzer.pml.examples.riscv.FU740.pml
1919

2020
import onera.pmlanalyzer.pml.examples.riscv.FU740.pml
2121
import onera.pmlanalyzer.pml.model.configuration.*
22-
import onera.pmlanalyzer.pml.model.configuration.TransactionLibrary.{
23-
UserScenarioId,
24-
UserTransactionId
25-
}
2622
import onera.pmlanalyzer.pml.model.hardware.Target
27-
import onera.pmlanalyzer.pml.model.software.Application
2823
import onera.pmlanalyzer.pml.operators.*
2924
import sourcecode.Name
3025

3126
import scala.language.postfixOps
3227

3328
/**
3429
* This trait contains a library of all transactions that can occur on the platform
35-
* One way to define a [[pml.model.configuration.TransactionLibrary.Transaction]] or
36-
* a [[pml.model.configuration.TransactionLibrary.Scenario]] is to use the read/write operators specifying
30+
* One way to define a [[onera.pmlanalyzer.pml.model.configuration.Transaction]] is to use the read/write operators specifying
3731
* which [[pml.model.software.Data]] is used by which [[pml.model.software.Application]].
3832
* The location of the application and the data are provided in the [[FU740SoftwareAllocation]] trait.
3933
*
40-
* If you want to define several paths representing a multi-transaction use the [[pml.model.configuration.TransactionLibrary.Scenario]]
41-
*
42-
* @note A transaction or a scenario is only '''declared''' here, it will be considered during the interference analysis if it is
34+
* @note A transaction is only '''declared''' here, it will be considered during the interference analysis if it is
4335
* actually used. This is done in the [[FU740LibraryConfiguration]] files.
4436
* A transaction should be a path from an initiator to a target, if several paths are possible a warning will be raised.
4537
* @see [[pml.operators.Use.Ops]] for read/write operator definitions
@@ -48,7 +40,7 @@ trait FU740TransactionLibrary extends TransactionLibrary {
4840
self: FU740Platform with FU740SoftwareAllocation =>
4941

5042
/*
51-
* We model cached memory accesses using explicit scenarios, capturing the
43+
* We model cached memory accesses using explicit transactions, capturing the
5244
* accesses to the updated caches. This could be:
5345
* - implicit, mapping the data in all updated targets.
5446
* - programmatic, based on the configuration of the cache hierarchy.
@@ -69,8 +61,8 @@ trait FU740TransactionLibrary extends TransactionLibrary {
6961
val t0_1: Transaction = Transaction(t0_wr_dtim)
7062
val t0_2: Transaction = Transaction(t0_rd_l2)
7163
val t0_3: Transaction = Transaction(t0_wr_l2)
72-
val t0_4: Scenario = Scenario(t0_rd_mem, t0_l2_refill)
73-
val t0_5: Scenario = Scenario(t0_wr_mem, t0_l2_refill)
64+
val t0_4: Transaction = Transaction(t0_rd_mem, t0_l2_refill)
65+
val t0_5: Transaction = Transaction(t0_wr_mem, t0_l2_refill)
7466

7567
private val t1_rd_l1 = Transaction(app1 read d1.DL1Cache)
7668
private val t1_wr_l1 = Transaction(app1 write d1.DL1Cache)
@@ -85,10 +77,10 @@ trait FU740TransactionLibrary extends TransactionLibrary {
8577

8678
val t1_0: Transaction = Transaction(t1_rd_l1)
8779
val t1_1: Transaction = Transaction(t1_wr_l1)
88-
val t1_2: Scenario = Scenario(t1_rd_l2, t1_l1_refill)
89-
val t1_3: Scenario = Scenario(t1_wr_l2, t1_l1_refill)
90-
val t1_6: Scenario = Scenario(t1_rd_mem, t1_l2_refill, t1_l1_refill)
91-
val t1_7: Scenario = Scenario(t1_wr_mem, t1_l2_refill, t1_l1_refill)
80+
val t1_2: Transaction = Transaction(t1_rd_l2, t1_l1_refill)
81+
val t1_3: Transaction = Transaction(t1_wr_l2, t1_l1_refill)
82+
val t1_6: Transaction = Transaction(t1_rd_mem, t1_l2_refill, t1_l1_refill)
83+
val t1_7: Transaction = Transaction(t1_wr_mem, t1_l2_refill, t1_l1_refill)
9284
val t1_4: Transaction = Transaction(t1_rd_lim)
9385
val t1_5: Transaction = Transaction(t1_wr_lim)
9486

@@ -104,10 +96,10 @@ trait FU740TransactionLibrary extends TransactionLibrary {
10496

10597
val t2_0: Transaction = Transaction(t2_rd_l1)
10698
val t2_1: Transaction = Transaction(t2_wr_l1)
107-
val t2_2: Scenario = Scenario(t2_rd_l2, t2_l1_refill)
108-
val t2_3: Scenario = Scenario(t2_wr_l2, t2_l1_refill)
109-
val t2_4: Scenario = Scenario(t2_rd_mem, t2_l2_refill, t2_l1_refill)
110-
val t2_5: Scenario = Scenario(t2_wr_mem, t2_l2_refill, t2_l1_refill)
99+
val t2_2: Transaction = Transaction(t2_rd_l2, t2_l1_refill)
100+
val t2_3: Transaction = Transaction(t2_wr_l2, t2_l1_refill)
101+
val t2_4: Transaction = Transaction(t2_rd_mem, t2_l2_refill, t2_l1_refill)
102+
val t2_5: Transaction = Transaction(t2_wr_mem, t2_l2_refill, t2_l1_refill)
111103
val t2_6: Transaction = Transaction(t2_rd_uart)
112104

113105
private val t3_rd_l1 = Transaction(app3 read d3.DL1Cache)
@@ -121,10 +113,10 @@ trait FU740TransactionLibrary extends TransactionLibrary {
121113

122114
val t3_0: Transaction = Transaction(t3_rd_l1)
123115
val t3_1: Transaction = Transaction(t3_wr_l1)
124-
val t3_2: Scenario = Scenario(t3_rd_l2, t3_l1_refill)
125-
val t3_3: Scenario = Scenario(t3_wr_l2, t3_l1_refill)
126-
val t3_4: Scenario = Scenario(t3_rd_mem, t3_l2_refill, t3_l1_refill)
127-
val t3_5: Scenario = Scenario(t3_wr_mem, t3_l2_refill, t3_l1_refill)
116+
val t3_2: Transaction = Transaction(t3_rd_l2, t3_l1_refill)
117+
val t3_3: Transaction = Transaction(t3_wr_l2, t3_l1_refill)
118+
val t3_4: Transaction = Transaction(t3_rd_mem, t3_l2_refill, t3_l1_refill)
119+
val t3_5: Transaction = Transaction(t3_wr_mem, t3_l2_refill, t3_l1_refill)
128120

129121
private val t4_rd_l1 = Transaction(app4 read d4.DL1Cache)
130122
private val t4_wr_l1 = Transaction(app4 write d4.DL1Cache)
@@ -137,8 +129,8 @@ trait FU740TransactionLibrary extends TransactionLibrary {
137129

138130
val t4_0: Transaction = Transaction(t4_rd_l1)
139131
val t4_1: Transaction = Transaction(t4_wr_l1)
140-
val t4_2: Scenario = Scenario(t4_rd_l2, t4_l1_refill)
141-
val t4_3: Scenario = Scenario(t4_wr_l2, t4_l1_refill)
142-
val t4_4: Scenario = Scenario(t4_rd_mem, t4_l2_refill, t4_l1_refill)
143-
val t4_5: Scenario = Scenario(t4_wr_mem, t4_l2_refill, t4_l1_refill)
132+
val t4_2: Transaction = Transaction(t4_rd_l2, t4_l1_refill)
133+
val t4_3: Transaction = Transaction(t4_wr_l2, t4_l1_refill)
134+
val t4_4: Transaction = Transaction(t4_rd_mem, t4_l2_refill, t4_l1_refill)
135+
val t4_5: Transaction = Transaction(t4_wr_mem, t4_l2_refill, t4_l1_refill)
144136
}

src/main/scala/onera/pmlanalyzer/pml/examples/riscv/FU740/pml/package.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package onera.pmlanalyzer.pml.examples.riscv.FU740
2222
*
2323
* @see [[FU740Platform]] for examples of [[pml.model.hardware.Hardware]] modelling features
2424
* [[FU740SoftwareAllocation]] for examples of [[pml.model.software.Application]] modelling features
25-
* [[FU740TransactionLibrary]] for examples of transaction/scenario modelling features
25+
* [[FU740TransactionLibrary]] for examples of transaction modelling features
2626
* [[FU740LibraryConfiguration]] for example of transaction library configuration
2727
* [[FU740LibraryConfigurationFull]] for examples of specialisation of library configurations
2828
* [[FU740Export]] for examples of platform instantiation and [[pml.exporters]] usage

src/main/scala/onera/pmlanalyzer/pml/examples/simpleKeystone/SimpleKeystoneTransactionLibrary.scala

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ import scala.language.postfixOps
2525

2626
/** This trait contains a library of all transactions that can occur on the
2727
* platform One way to define a
28-
* [[pml.model.configuration.TransactionLibrary.Transaction]] or a
29-
* [[pml.model.configuration.TransactionLibrary.Scenario]] is to use the
28+
* [[onera.pmlanalyzer.pml.model.configuration.Transaction]] is to use the
3029
* read/write operators specifying which [[pml.model.software.Data]] is used by
3130
* which [[pml.model.software.Application]]. For instance
3231
* {{{val app4_wr_input_d : Transaction = Transaction(app4 write input_d)}}}
@@ -35,12 +34,12 @@ import scala.language.postfixOps
3534
* the data are provided in the [[SimpleSoftwareAllocation]] trait.
3635
*
3736
* If you want to define several paths representing a multi-transaction use the
38-
* [[pml.model.configuration.TransactionLibrary.Scenario]] For instance
39-
* {{{val app1_rd_wr_L1 : Scenario = Scenario(app1_rd_L1, app1_wr_L1)}}}
40-
* defines a scenario named '''app1_rd_wr_L1''' where app1 is reading and
37+
* [[onera.pmlanalyzer.pml.model.configuration.Transaction]] For instance
38+
* {{{val app1_rd_wr_L1 : Transaction = Transaction(app1_rd_L1, app1_wr_L1)}}}
39+
* defines a transaction named '''app1_rd_wr_L1''' where app1 is reading and
4140
* writing L1 cache
4241
* @note
43-
* A transaction or a scenario is only '''declared''' here, it will be
42+
* A transaction is only '''declared''' here, it will be
4443
* considered during the interference analysis if it is actually used. This
4544
* is done in the [[SimpleKeystoneLibraryConfiguration]] files. A transaction
4645
* should be a path from an initiator to a target, if several paths are
@@ -95,9 +94,9 @@ trait SimpleKeystoneTransactionLibrary extends TransactionLibrary {
9594

9695
/** t14: [[SimpleSoftwareAllocation.app1]] runs using
9796
* [[SimpleKeystonePlatform.ARM0]] cache
98-
* @group scenario_def
97+
* @group transaction_def
9998
*/
100-
val t14_app1_rd_wr_L1: Scenario = Scenario(app1_rd_L1, app1_wr_L1)
99+
val t14_app1_rd_wr_L1: Transaction = Transaction(app1_rd_L1, app1_wr_L1)
101100

102101
/** t221: [[SimpleSoftwareAllocation.app22]] reads output data of
103102
* [[SimpleSoftwareAllocation.app1]] from [[SimpleKeystonePlatform.ddr]]
@@ -124,10 +123,10 @@ trait SimpleKeystoneTransactionLibrary extends TransactionLibrary {
124123
* [[SimpleKeystonePlatform.spi]] frame from
125124
* [[SimpleKeystonePlatform.MemorySubsystem.sram]] and transfers it to
126125
* [[SimpleKeystonePlatform.spi]]
127-
* @group scenario_def
126+
* @group transaction_def
128127
*/
129128
private val readFrame = Transaction(app3 read output_d)
130129
private val writeFrame = Transaction(app3 write output_spi_frame)
131-
val app3_transfer: Scenario =
132-
Scenario(readFrame, writeFrame)
130+
val app3_transfer: Transaction =
131+
Transaction(readFrame, writeFrame)
133132
}

src/main/scala/onera/pmlanalyzer/pml/examples/simpleKeystone/package.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package onera.pmlanalyzer.pml.examples
2222
* [[SimpleKeystonePlatform]] for examples of [[pml.model.hardware.Hardware]]
2323
* modelling features [[SimpleSoftwareAllocation]] for examples of
2424
* [[pml.model.software.Application]] modelling features
25-
* [[SimpleKeystoneTransactionLibrary]] for examples of transaction/scenario
25+
* [[SimpleKeystoneTransactionLibrary]] for examples of transaction
2626
* modelling features [[SimpleKeystoneLibraryConfiguration]] for example of
2727
* transaction library configuration
2828
* [[SimpleKeystoneLibraryConfigurationFull]] for examples of specialisation

src/main/scala/onera/pmlanalyzer/pml/examples/simpleT1042/SimpleT1042TransactionLibrary.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ trait SimpleT1042TransactionLibrary extends TransactionLibrary {
3838
val app1_wr_d2: Transaction = Transaction(app1 write d2)
3939
val app1_rd_L1: Transaction = Transaction(app1 read C1.L1)
4040
val app1_wr_L1: Transaction = Transaction(app1 write C1.L1)
41-
val app1_rd_wr_L1: Scenario = Scenario(app1_rd_L1, app1_wr_L1)
41+
val app1_rd_wr_L1: Transaction = Transaction(app1_rd_L1, app1_wr_L1)
4242
val app22_rd_d2: Transaction = Transaction(app22 read d2)
4343
val app22_wr_output_d: Transaction = Transaction(app22 write output_d)
4444
val app22_st_dma_reg: Transaction = Transaction(app22 write dma_reg)
@@ -50,6 +50,6 @@ trait SimpleT1042TransactionLibrary extends TransactionLibrary {
5050
private val app3_wr_output_pcie_frame: Transaction = Transaction(
5151
app3 write output_pcie_frame
5252
)
53-
val app3_transfer: Scenario =
54-
Scenario(app3_rd_output_d, app3_wr_output_pcie_frame)
53+
val app3_transfer: Transaction =
54+
Transaction(app3_rd_output_d, app3_wr_output_pcie_frame)
5555
}

0 commit comments

Comments
 (0)