|
14 | 14 |
|
15 | 15 | # Total number of commands that are supported/recognized by controller. |
16 | 16 | # Needs to be updated once more commands are added/supported. |
17 | | -NUM_CMDS = 40 |
| 17 | +NUM_CMDS = 43 |
18 | 18 |
|
19 | 19 | CMD_LAUNCH = 0 |
20 | 20 | CMD_PAUSE = 1 |
|
50 | 50 | CMD_LEAF_COUNTER_COMPLETE = 31 |
51 | 51 |
|
52 | 52 | # Affine Controller (AC) Configuration Commands (from CPU). |
53 | | -CMD_AC_CONFIG_LOWER = 29 # Configures CCU lower_bound. |
54 | | -CMD_AC_CONFIG_UPPER = 30 # Configures CCU upper_bound. |
55 | | -CMD_AC_CONFIG_STEP = 31 # Configures CCU step. |
56 | | -CMD_AC_CONFIG_CHILD_COUNT = 32 # Configures child_complete_count. |
57 | | -CMD_AC_CONFIG_TARGET = 33 # Configures target (tile_id, ctrl_addr, is_remote, cgra_id). |
58 | | -CMD_AC_CONFIG_PARENT = 34 # Configures parent_ccu_id, is_root, is_relay. |
59 | | -CMD_AC_LAUNCH = 35 # Launches AC (all CCUs enter RUNNING). |
| 53 | +CMD_AC_CONFIG_LOWER = 32 # Configures CCU lower_bound. |
| 54 | +CMD_AC_CONFIG_UPPER = 33 # Configures CCU upper_bound. |
| 55 | +CMD_AC_CONFIG_STEP = 34 # Configures CCU step. |
| 56 | +CMD_AC_CONFIG_CHILD_COUNT = 35 # Configures child_complete_count. |
| 57 | +CMD_AC_CONFIG_TARGET = 36 # Configures target (tile_id, ctrl_addr, is_remote, cgra_id). |
| 58 | +CMD_AC_CONFIG_PARENT = 37 # Configures parent_ccu_id, is_root, is_relay. |
| 59 | +CMD_AC_LAUNCH = 38 # Launches AC (all CCUs enter RUNNING). |
60 | 60 |
|
61 | 61 | # Affine Controller Inter-CGRA Sync Commands. |
62 | | -CMD_AC_SYNC_VALUE = 36 # Parent AC → Child AC: sync current value. |
63 | | -CMD_AC_CHILD_COMPLETE = 37 # Child AC → Parent AC: child complete. |
64 | | -CMD_AC_CHILD_RESET = 38 # Parent AC → Child AC: reset child. |
| 62 | +CMD_AC_SYNC_VALUE = 39 # Parent AC → Child AC: sync current value. |
| 63 | +CMD_AC_CHILD_COMPLETE = 40 # Child AC → Parent AC: child complete. |
| 64 | +CMD_AC_CHILD_RESET = 41 # Parent AC → Child AC: reset child. |
65 | 65 |
|
66 | 66 | # Affine Controller Status. |
67 | | -CMD_AC_ALL_COMPLETE = 39 # AC → Controller: all loops complete. |
| 67 | +CMD_AC_ALL_COMPLETE = 42 # AC → Controller: all loops complete. |
68 | 68 |
|
69 | 69 | CMD_SYMBOL_DICT = { |
70 | 70 | CMD_LAUNCH: "(LAUNCH_KERNEL)", |
|
0 commit comments