Research Article
High-Level Design Space and Flexibility Exploration for Adaptive, Energy-Efficient WCDMA Channel Estimation Architectures
Listing 1
Example LISA code.
| RESOURCE { | | REGISTER TClocked<int32> alu_in1, alu_in2, alu_out; | | PIPELINE pipe = {FETCH; DECODE; EXECUTE; WRITEBACK}; | | ...other resources / | | } | | OPERATION alu32 IN pipe.DECODE { | | DECLARE { | | GROUP opcode= { add || sub || and || or || xor }; | | ... other declarations of operands/ | | } | | CODING { 0b001 opcode source_operands } | | SYNTAX { opcode " " destination "," source_operands } | | BEHAVIOR { | | configure data path / | | OUT.dp_mode = opcode; | | } | | activate operand selection and datapath execution / | | ACTIVATION { source_operands, datapath } | | } | | //...other operations | | OPERATION add IN pipe.EXECUTE { | | //... declarations of operand types, etc | | CODING { 0b00001 } | | SYNTAX { "add" } | | BEHAVIOR { | | alu_out = alu_in1 + alu_in2; | | } | | } |
|