CPE 315 SIM Documentation
Schematic Descriptors


In the general format of component specification:
< Component Type > ( < Schematic Descriptor >, < Input(s) >, < Output(s) >);
the Schematic Descriptor (SD) entry positions the component on a two-dimensional grid in the display window. In the simpliest form, Descriptors are given as a two character ASCII string.
For example, "1b" specifies row 1, column b. The grid is virtual in the sense that the maximum extent of placements occurring throughout all the SD's encountered in a system description are mapped to the whole display. Row and column extents in a window include all the ASCII characters between those actually used. Row and column labeling are independent; the same labels can be used for both.

Screen cell positions are composed using the syntax:
cell = {C} {C}
    | {C}{C}-{C}{C}
    | cell.cell
where {C} is any ASCII character but is usually one of [a-zA-Z0-9]

The cell-designator must be quoted as a C++ string. In addition to using a two character string, an extant sequence, such as "1a-3b" can be used for a component that will occupy an extended screen region.

Hierarchical Positioning
Screen locations may use "dot" notation to achieve a hierarchy of relative positioning. For example, the cell designator:

"3b.2x"
refers to row 2, column x within the cell at row 3, column b. The extend of the coordinates within 3b depends on the usage withing 3b only. Such hierarchy can be designated to any number of levels such as:
"3b.2x.1a-3c.b6.q8-r9"

Multiple components in a cell
Multiple components can be packed into a single cell by using the idential cell designator for each component. In this case, the components are stacked vertically withing cell 1a.

Switch ("1a",x,'x');
Switch ("1a",y,'xy);

To stack components horizontally, use dot notation. For example:

Switch ("1a.ab",x,'x');
Switch ("1a.ac",y,'xy);

Overlaid Components

Modules


Last updated on 10/28/01