SystemC Conventions

Enterprise Architect supports round-trip engineering of SystemC, where the following conventions are used.

Stereotypes

Stereotype

Applies To

Corresponds To

delegate

Method

A delegate.

enumeration

Inner Class

An enum type.

friend

Method

A friend method.

property

Method

A property definition.

sc_ctor

Method

A SystemC constructor.

sc_module

Class

A SystemC module.

sc_port

Attribute

A port.

sc_signal

Attribute

A signal

struct

Inner Class

A struct or union.

Tagged Values

Tag

Applies To

Corresponds To

kind

Attribute (Port)

Port kind (clocked, fifo, master, slave, resolved, vector).

mode

Attribute (Port)

Port mode (in, out, inout).

overrides

Method

The Inheritance list of a method declaration.

throw

Method

The exception specification of a method.

Other Conventions

  • SystemC also inherits most of the stereotypes and Tagged Values of C++.

SystemC Toolbox Pages

To access the SystemC pages of the Toolbox, select the More tools | HDL | SystemC Constructs menu option. Drag these icons onto a diagram to model a SystemC design.

Page

Item

Use To

SystemC

Module

Define a SystemC Module.

An sc_module-stereotyped Class element.

 

Enumeration

Define an Enumerated Type.

An enumeration-stereotyped Enumeration element.

 

Struct

Define a Structure.

A struct-stereotyped Class element.

SystemC Features

Port

Define a SystemC Port.

An sc_port-stereotyped attribute.

 

Signal

Define a SystemC Signal.

An sc_signal-stereotyped attribute.

 

Constructor

Define a SystemC Constructor.

An sc_ctor-stereotyped method.

See Also