|
CIRCT 22.0.0git
|
Translated argument struct for CoordTranslator. More...

Public Member Functions | |
| Coord * | coords () |
| Get pointer to trailing coords array. | |
| const Coord * | coords () const |
| std::span< Coord > | coordsSpan () |
| Get span view of coords (requires coordsLength to be set first). | |
| std::span< const Coord > | coordsSpan () const |
Static Public Member Functions | |
| static size_t | allocSize (size_t numCoords) |
Public Attributes | |
| size_t | coordsLength |
| uint32_t | yTranslation |
| uint32_t | xTranslation |
Translated argument struct for CoordTranslator.
Memory layout (standard C struct ordering): ESI type: struct { x_translation: UInt(32), y_translation: UInt(32), coords: List<struct{x, y}> } becomes host struct: { coords_length (size_t, 8 bytes on 64-bit), y_translation (uint32_t), x_translation (uint32_t), coords[] } Note: Fields are in reverse order due to SV struct ordering. Note: size_t is used for list lengths, so this format is platform-dependent.
Definition at line 1592 of file esitester.cpp.
|
inlinestatic |
Definition at line 1607 of file esitester.cpp.
Referenced by coordTranslateTest().
|
inline |
Get pointer to trailing coords array.
Definition at line 1599 of file esitester.cpp.
Referenced by coordsSpan(), and coordsSpan().
|
inline |
Definition at line 1600 of file esitester.cpp.
|
inline |
Get span view of coords (requires coordsLength to be set first).
Definition at line 1604 of file esitester.cpp.
References coords(), and coordsLength.
|
inline |
Definition at line 1605 of file esitester.cpp.
References coords(), and coordsLength.
| size_t CoordTranslateArg::coordsLength |
Definition at line 1593 of file esitester.cpp.
Referenced by coordsSpan(), coordsSpan(), and coordTranslateTest().
| uint32_t CoordTranslateArg::xTranslation |
Definition at line 1595 of file esitester.cpp.
| uint32_t CoordTranslateArg::yTranslation |
Definition at line 1594 of file esitester.cpp.