onera.pmlanalyzer.pml.model.hardware

Package containing all hardware PML nodes

Attributes

See also:
Note:

SimpleTransporter, Virtualizer, Target and Initiator can only be instantiated in a Platform or a Composite but Platform and Composite can be specialised

Members list

Concise view

utilFun

Static methods of Composite

Static methods of Composite

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Platform

Static methods of Platform

Static methods of Platform

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

hardware_class

abstract class Hardware extends PMLNode

Base class for all physical element of a platform

Base class for all physical element of a platform

Attributes

enclosing

the implicit context that can be used to find the source code location of the node definition

Note:

this class should not be specialised in user models

Graph
Supertypes
class PMLNode
class Object
trait Matchable
class Any
Known subtypes
class Composite
class ARMCore
object MemorySubsystem.type
object TeraNet.type
class Initiator
class Target

transporter_class

final class SimpleTransporter extends Transporter

Class modelling simple transporters.

Class modelling simple transporters.

Attributes

name

the name of the node

See also:

the possible constructors are provided by BaseHardwareNodeBuilder

Companion:
object
Graph
Supertypes
class Hardware
class PMLNode
class Object
trait Matchable
class Any
abstract class Transporter extends Hardware

Base class for all physical element of a platform that cannot initiate nor be the destination of any transaction

Base class for all physical element of a platform that cannot initiate nor be the destination of any transaction

Attributes

enclosing

the implicit context that can be used to find the source code location of the node definition

name

the name of the node

Note:

this class should not be specialised in user models

Graph
Supertypes
class Hardware
class PMLNode
class Object
trait Matchable
class Any
Known subtypes
final class Virtualizer extends Transporter

A virtualizer is able to control the incoming transactions

A virtualizer is able to control the incoming transactions

Attributes

name

the name of the node

See also:

the possible constructors are provided by BaseHardwareNodeBuilder

Companion:
object
Graph
Supertypes
class Hardware
class PMLNode
class Object
trait Matchable
class Any

builder

Base trait for all hardware node builder the name of the transporter is implicitly derived from the name of the variable used during instantiation. Usually an hardware can be constructed without arguments, where T can be Initiator, SimpleTransporter, Virtualizer, Target

Base trait for all hardware node builder the name of the transporter is implicitly derived from the name of the variable used during instantiation. Usually an hardware can be constructed without arguments, where T can be Initiator, SimpleTransporter, Virtualizer, Target

        val myHardware = T()

It is also possible to give a specific name, for instance when creating the component in a loop then the following constructor can bee used

          val hardwareSeq = for { i <- O to N } yield T(s"myHardware$i")

It is also possible to add specific services, by default each hardware has a pml.model.service.Load and a pml.model.service.Store service.

        val myLoadService = Load()
        val myOtherLoadService = Load()
        val myStoreService = Store()
        val myHardware = T(Set(myLoadService,myOtherLoadService,myStoreService)))

It is also possible to provide the name and the services for instance

          val hardwareSeq = for { i <- O to N } yield T(s"myHardware$i", Set(Load(s"myLoad$i"), Store(s"myStore$i"))

Attributes

T

the concrete type of built object

See also:
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Initiator.type
object SimpleTransporter.type
object Target.type
object Virtualizer.type

Builder of initiators

Builder of initiators

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Builder of simple transporters

Builder of simple transporters

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Builder of targets

Builder of targets

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Target.type

Builder of targets

Builder of targets

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

hierarchical_class

abstract class Composite(n: Symbol, _owner: Owner) extends Hardware

Base class of sub-systems containing themselves hardware components

Base class of sub-systems containing themselves hardware components

Attributes

_owner

the id of the owner of the composite (the platform or another composite)

n

the name of the node

See also:
Companion:
object
Graph
Supertypes
class Hardware
class PMLNode
class Object
trait Matchable
class Any
Known subtypes
class ARMCore
object MemorySubsystem.type
object TeraNet.type
abstract class Platform(val name: Symbol)(implicit _sourceFile: File) extends PMLNode with Instances

Base class for a platform

Base class for a platform

Attributes

_sourceFile

the implicit descriptor of the source file where the platform is defined

name

the name of the node

See also:
Companion:
object
Graph
Supertypes
trait Instances
trait Instances
trait Instances
trait Instances
trait Instances
trait Instances
class PMLNode
class Object
trait Matchable
class Any
Known subtypes

initiator_class

final class Initiator extends Hardware

Class for the smart initiator, i.e. that can initiate transactions

Class for the smart initiator, i.e. that can initiate transactions

Attributes

name

the name of the node

See also:

the possible constructors are provided by BaseHardwareNodeBuilder

Companion:
object
Graph
Supertypes
class Hardware
class PMLNode
class Object
trait Matchable
class Any

target_class

final class Target extends Hardware

Class for all transaction destination

Class for all transaction destination

Attributes

name

the name of the node

See also:

the possible constructors are provided by BaseHardwareNodeBuilder

Companion:
object
Graph
Supertypes
class Hardware
class PMLNode
class Object
trait Matchable
class Any