Download OpenTimer_OpenTimer/ot/timer/gate.hpp from SAIFIINDUSTRIES/verilog_data-2: direct link, hf CLI and curl.
- Browser
- Download file 842 Bytes
-
https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-2/resolve/main/OpenTimer_OpenTimer/ot/timer/gate.hpp
- Command line
-
hf download hf://datasets/SAIFIINDUSTRIES/verilog_data-2/OpenTimer_OpenTimer/ot/timer/gate.hpp
-
curl -L -o gate.hpp https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-2/resolve/main/OpenTimer_OpenTimer/ot/timer/gate.hpp
842 Bytes
| namespace ot { | |
| // Forward declaration | |
| class Pin; | |
| class Arc; | |
| class Test; | |
| // ------------------------------------------------------------------------------------------------ | |
| // Class: Gate | |
| class Gate { | |
| friend class Timer; | |
| public: | |
| Gate(const std::string&, CellView); | |
| inline const std::string& name() const; | |
| const std::string& cell_name() const; | |
| private: | |
| std::string _name; | |
| CellView _cell; | |
| std::vector<Pin*> _pins; | |
| std::vector<Arc*> _arcs; | |
| std::vector<Test*> _tests; | |
| //void _repower(CellView); | |
| }; | |
| // Function: name | |
| inline const std::string& Gate::name() const { | |
| return _name; | |
| } | |
| }; // end of namespace ot. ----------------------------------------------------------------------- | |