
272 CHAPTER 10 ADL++: Object-Oriented Specification
description given earlier. In order to create this simulator we can declare our
machine:
simple_stage MACH;
map [if,id,ex,mem,wb] to s_ALL;
The map statement completes the abstraction layer provided b y instruction
attributes by mapping labels of LRTL segments to physical pipeline stages. In this
example, it maps all LRTL segments described in the instruction set definition to
a single pipeline stage s_ALL in the indicated order; in other words, all LRTL seg-
ments will execute one after another in the same pipeline sta ge,essentially providing
functional simulation.
10.6.2 Deriving Complex Architectures ...