Documentation

The Group Abstraction

The Group abstraction allows distinct instructions to be grouped together arbitrarily in one single entity. This entity can be used to define approximations, energy models, and operating parameters at once, with no need to rewrite the definition of the group.

The code snippet bellow exemplifies the definition of the group ALU, that contains some basic logic and arithmetic instructions.

group ALU {
  instruction = {
    add, addu,
    sub, subu,
    and, and,
    or,
    not
  };
}

Additionally to defining the specific instructions that are part of a group, the group abstraction also allows that these instructions are subject to different energy models and operating parameters.

group ALU {
  instruction = {
    add, addu,
    sub, subu,
    and, and,
    or,
    not
  };
  energy     = alu_em();
  parameters = alu_op;
}

More documentation

  1. Introduction to VArchC
  2. Installing VArchC
  3. The ADeLe Language
    1. ADeLe Design Overview
    2. The ADeLe Description File
    3. Models and Abstractions
      1. The Group Abstraction
      2. The Approximation Abstraction
      3. The Word Abstraction
      4. The Instruction Model
      5. The Energy Model
      6. The Probability Model
      7. The Operating Parameters