[engine] syntax

This commit is contained in:
tangxifan 2022-10-17 14:20:23 -07:00
parent 11624cd0c6
commit 811438c20e
1 changed files with 2 additions and 2 deletions

View File

@ -18,9 +18,9 @@ namespace openfpga {
enum class e_pin_table_direction_convention { enum class e_pin_table_direction_convention {
EXPLICIT = 0, EXPLICIT = 0,
QUICKLOGIC, QUICKLOGIC,
NUM_PIN_DIRECTION_CONVENTION NUM_TYPES
}; };
constexpr std::array<const char*, NUM_PIN_DIRECTION_CONVENTION> PIN_TABLE_DIRECTION_CONVENTION_STRING = {{"explicit", "quicklogic"}}; //String versions of side orientations constexpr std::array<const char*, static_cast<size_t>(e_pin_table_direction_convention::NUM_TYPES)> PIN_TABLE_DIRECTION_CONVENTION_STRING = {{"explicit", "quicklogic"}}; //String versions of side orientations
IoPinTable read_csv_io_pin_table(const char* fname, const e_pin_table_direction_convention& pin_dir_convention); IoPinTable read_csv_io_pin_table(const char* fname, const e_pin_table_direction_convention& pin_dir_convention);