You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created placer context for accessing various data structures used by the VPR placer. Refactored place.cpp based on the moved global structures by moving certain interrelated routines into other (new) files.
//operator< treats memory layout of t_override as an array of short
127
-
//this requires all members of t_override are shorts and there is no padding between members of t_override
158
+
/**
159
+
* operator< treats memory layout of t_override as an array of short.
160
+
* This requires all members of t_override are shorts and there is no
161
+
* padding between members of t_override.
162
+
*/
128
163
static_assert(sizeof(t_override) == sizeof(t_override::from_type) + sizeof(t_override::to_type) + sizeof(t_override::from_class) + sizeof(t_override::to_class) + sizeof(t_override::delta_x) + sizeof(t_override::delta_y), "Expect t_override to have a memory layout equivalent to an array of short (no padding)");
129
164
static_assert(sizeof(t_override::from_type) == sizeof(short), "Expect all t_override data members to be shorts");
130
165
static_assert(sizeof(t_override::to_type) == sizeof(short), "Expect all t_override data members to be shorts");
@@ -133,5 +168,3 @@ class OverrideDelayModel : public PlaceDelayModel {
133
168
static_assert(sizeof(t_override::delta_x) == sizeof(short), "Expect all t_override data members to be shorts");
134
169
static_assert(sizeof(t_override::delta_y) == sizeof(short), "Expect all t_override data members to be shorts");
0 commit comments