#ifndef OT_SDC_OBJECT_HPP #define OT_SDC_OBJECT_HPP #include namespace ot::sdc { struct CurrentDesign { }; struct AllClocks{ }; struct GetClocks { std::vector clocks; }; struct AllInputs { }; struct AllOutputs { }; struct GetPorts { std::vector ports; }; struct GetCells { std::vector cells; }; struct GetPins { std::vector pins; }; struct GetNets { std::vector nets; }; struct GetLibs { std::vector libs; }; struct GetLibCells { }; struct GetLibPins { }; struct AllRegisters{ }; using Object = std::variant< CurrentDesign, GetClocks, AllClocks, GetPorts, AllInputs, AllOutputs, GetPins, GetCells, GetNets, GetLibs, GetLibCells, GetLibPins, AllRegisters >; // ------------------------------------------------------------------------------------------------ Object parse_port(const std::string&); }; // end of namespace ot::sdc. ------------------------------------------------------------------ #endif