Add batch 2 (danielholanda_LeFlow, The-OpenROAD-Project_OpenSTA, omarelhedaby_CNN-FPGA, QShen3_CNN-FPGA, openrisc_mor1kx)
23d354c verified Download The-OpenROAD-Project_OpenSTA/include/sta/Machine.hh from SAIFIINDUSTRIES/verilog_data-1: direct link, hf CLI and curl.
- Browser
- Download file 2.9 kB
-
https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenSTA/include/sta/Machine.hh
- Command line
-
hf download hf://datasets/SAIFIINDUSTRIES/verilog_data-1/The-OpenROAD-Project_OpenSTA/include/sta/Machine.hh
-
curl -L -o Machine.hh https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenSTA/include/sta/Machine.hh
2.9 kB
| // OpenSTA, Static Timing Analyzer | |
| // Copyright (c) 2026, Parallax Software, Inc. | |
| // | |
| // This program is free software: you can redistribute it and/or modify | |
| // it under the terms of the GNU General Public License as published by | |
| // the Free Software Foundation, either version 3 of the License, or | |
| // (at your option) any later version. | |
| // | |
| // This program is distributed in the hope that it will be useful, | |
| // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| // GNU General Public License for more details. | |
| // | |
| // You should have received a copy of the GNU General Public License | |
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | |
| // | |
| // The origin of this software must not be misrepresented; you must not | |
| // claim that you wrote the original software. | |
| // | |
| // Altered source versions must be plainly marked as such, and must not be | |
| // misrepresented as being the original software. | |
| // | |
| // This notice may not be removed or altered from any source distribution. | |
| // This header contains global os/port specific definitions. | |
| // Microcruft Visual C++ | |
| // Obtuse warning codes enabled by pragma. | |
| // 4018 = signed, unsigned mismatch | |
| // 4032 = unexpected type promotions | |
| // 4100 = unused argument | |
| // 4132 = uninitialized const | |
| // 4189 = unused local variable | |
| // 4201 = unnamed struct | |
| // 4222 = static class member declared static at file scope | |
| // 4234 = use of keyword reserved for future use | |
| // 4245 = negative const converted to unsigned | |
| // 4355 = use of 'this' in invalid context | |
| // 4505 = function not used | |
| // 4611 = setjmp used in C++ function | |
| // 4701 = variable used but not initialized | |
| // Disable security warnings for posix functions. | |
| // _CRT_SECURE_NO_WARNINGS does not seem to work | |
| // Flex doesn't check for unistd.h. | |
| namespace sta { | |
| int vsnprint(char *str, size_t size, const char *fmt, const va_list args); | |
| int vasprintf(char **str, const char *fmt, va_list args); | |
| } | |
| namespace sta { | |
| int | |
| processorCount(); | |
| // Init elapsed (wall) time. | |
| void | |
| initElapsedTime(); | |
| // Elapsed/wall time (in seconds). | |
| double | |
| elapsedRunTime(); | |
| // User run time (in seconds). | |
| double | |
| userRunTime(); | |
| // System run time (in seconds). | |
| double | |
| systemRunTime(); | |
| // Memory usage in bytes. | |
| size_t | |
| memoryUsage(); | |
| } // namespace sta | |