Update repack_design_constraints.h

code clean up
This commit is contained in:
Yitian4Debug 2023-12-05 10:10:19 -08:00 committed by GitHub
parent aa51b6d388
commit e6c9d22ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -36,7 +36,11 @@ constexpr const char* REPACK_DESIGN_CONSTRAINT_OPEN_NET = "OPEN";
*******************************************************************/
class RepackDesignConstraints {
public: /* Type of design constraints */
enum e_design_constraint_type { PIN_ASSIGNMENT, IGNORE_NET, NUM_DESIGN_CONSTRAINT_TYPES };
enum e_design_constraint_type {
PIN_ASSIGNMENT,
IGNORE_NET,
NUM_DESIGN_CONSTRAINT_TYPES
};
public: /* Types */
typedef vtr::vector<RepackDesignConstraintId,