|
Kestrel Interface
|
Go to the source code of this file.
Data Structures | |
| struct | kest_block_operand |
| struct | kest_block_reg_val |
| struct | kest_block |
Macros | |
| #define | BLOCK_INSTR_NOP 0 |
| #define | BLOCK_INSTR_MADD 1 |
| #define | BLOCK_INSTR_ARSH 2 |
| #define | BLOCK_INSTR_LSH 3 |
| #define | BLOCK_INSTR_RSH 4 |
| #define | BLOCK_INSTR_ABS 5 |
| #define | BLOCK_INSTR_MIN 6 |
| #define | BLOCK_INSTR_MAX 7 |
| #define | BLOCK_INSTR_CLAMP 8 |
| #define | BLOCK_INSTR_MOV_ACC 9 |
| #define | BLOCK_INSTR_MOV_LACC 10 |
| #define | BLOCK_INSTR_MOV_UACC 11 |
| #define | BLOCK_INSTR_MACZ 12 |
| #define | BLOCK_INSTR_UMACZ 13 |
| #define | BLOCK_INSTR_MAC 14 |
| #define | BLOCK_INSTR_UMAC 15 |
| #define | BLOCK_INSTR_LUT_READ 16 |
| #define | BLOCK_INSTR_DELAY_READ 17 |
| #define | BLOCK_INSTR_DELAY_WRITE 18 |
| #define | BLOCK_INSTR_MEM_READ 19 |
| #define | BLOCK_INSTR_MEM_WRITE 20 |
| #define | BLOCK_INSTR_FILTER 21 |
| #define | BLOCK_OPERAND_TYPE_C 0 |
| #define | BLOCK_OPERAND_TYPE_R 1 |
| #define | ZERO_REGISTER_ADDR 2 |
| #define | POS_ONE_REGISTER_ADDR 3 |
| #define | NEG_ONE_REGISTER_ADDR 4 |
Functions | |
| kest_block_operand | operand_const_zero () |
| kest_block_operand | operand_const_one () |
| kest_block_operand | operand_const_minus_one () |
| int | kest_init_block (kest_block *block) |
| DECLARE_LINKED_PTR_LIST (kest_block) | |
| #define BLOCK_INSTR_ABS 5 |
Definition at line 9 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), and kest_instr_opcode().
| #define BLOCK_INSTR_ARSH 2 |
Definition at line 6 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), and kest_instr_opcode().
| #define BLOCK_INSTR_CLAMP 8 |
Definition at line 12 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_DELAY_READ 17 |
Definition at line 21 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_fpga_block_opcode_format(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_DELAY_WRITE 18 |
Definition at line 22 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_fpga_block_opcode_format(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_FILTER 21 |
Definition at line 25 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_fpga_block_opcode_format(), and kest_instr_opcode().
| #define BLOCK_INSTR_LSH 3 |
Definition at line 7 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_LUT_READ 16 |
Definition at line 20 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_fpga_block_opcode_format(), and kest_instr_opcode().
| #define BLOCK_INSTR_MAC 14 |
Definition at line 18 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_MACZ 12 |
Definition at line 16 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_MADD 1 |
Definition at line 5 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_MAX 7 |
Definition at line 11 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_MEM_READ 19 |
Definition at line 23 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_fpga_block_opcode_format(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_MEM_WRITE 20 |
Definition at line 24 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_fpga_block_opcode_format(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_MIN 6 |
Definition at line 10 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_MOV_ACC 9 |
Definition at line 13 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_MOV_LACC 10 |
Definition at line 14 of file kest_block.h.
Referenced by kest_block_opcode_to_string(), and kest_parse_asm_line().
| #define BLOCK_INSTR_MOV_UACC 11 |
Definition at line 15 of file kest_block.h.
Referenced by kest_block_opcode_to_string(), and kest_parse_asm_line().
| #define BLOCK_INSTR_NOP 0 |
Definition at line 4 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_init_block(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_RSH 4 |
Definition at line 8 of file kest_block.h.
Referenced by kest_block_opcode_to_name(), kest_block_opcode_to_string(), kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_UMAC 15 |
Definition at line 19 of file kest_block.h.
Referenced by kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_INSTR_UMACZ 13 |
Definition at line 17 of file kest_block.h.
Referenced by kest_instr_opcode(), and kest_parse_asm_line().
| #define BLOCK_OPERAND_TYPE_C 0 |
Definition at line 29 of file kest_block.h.
Referenced by kest_init_block(), kest_parse_asm_line(), and kest_process_asm_line().
| #define BLOCK_OPERAND_TYPE_R 1 |
Definition at line 30 of file kest_block.h.
Referenced by kest_parse_asm_line(), kest_process_asm_line(), operand_const_minus_one(), operand_const_one(), and operand_const_zero().
| #define NEG_ONE_REGISTER_ADDR 4 |
Definition at line 39 of file kest_block.h.
Referenced by operand_const_minus_one().
| #define POS_ONE_REGISTER_ADDR 3 |
Definition at line 38 of file kest_block.h.
Referenced by operand_const_one().
| #define ZERO_REGISTER_ADDR 2 |
Definition at line 37 of file kest_block.h.
Referenced by kest_parse_asm_line(), and operand_const_zero().
| DECLARE_LINKED_PTR_LIST | ( | kest_block | ) |
| int kest_init_block | ( | kest_block * | block | ) |
Definition at line 37 of file kest_block.c.
| kest_block_operand operand_const_minus_one | ( | ) |
Definition at line 29 of file kest_block.c.
Referenced by kest_parse_asm_line(), and kest_process_asm_line().
| kest_block_operand operand_const_one | ( | ) |
Definition at line 21 of file kest_block.c.
Referenced by kest_parse_asm_line(), and kest_process_asm_line().
| kest_block_operand operand_const_zero | ( | ) |
Definition at line 13 of file kest_block.c.
Referenced by kest_parse_asm_line(), and kest_process_asm_line().