[Engine] update internal data structure for new syntax in configuration protocol

This commit is contained in:
tangxifan 2021-09-22 17:32:45 -07:00
parent 1ca1b0f3e9
commit d4e3445153
1 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,15 @@
#include "circuit_types.h"
#include "circuit_library_fwd.h"
/* Data type to define the protocol through which BL/WL can be manipulated */
enum e_blwl_protocol_type {
BLWL_PROTOCOL_FLATTEN,
BLWL_PROTOCOL_DECODER,
BLWL_PROTOCOL_SHIFT_REGISTER,
NUM_BLWL_PROTOCOLS_TYPES
};
constexpr std::array<const char*, NUM_BLWL_PROTOCOL_TYPES> BLWL_PROTOCOL_TYPE_STRING = {{"flatten", "decoder", "shift_register"}};
/********************************************************************
* A data structure to store configuration protocol information
*******************************************************************/