Add batch 1 (YosysHQ_picorv32, alexforencich_verilog-ethernet, The-OpenROAD-Project_OpenROAD, darklife_darkriscv, corundum_corundum)
f61bac1 verified Download The-OpenROAD-Project_OpenROAD/src/dbSta/include/db_sta/DelayFmt.hh from SAIFIINDUSTRIES/verilog_data-1: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenROAD/src/dbSta/include/db_sta/DelayFmt.hh
- Command line
-
hf download hf://datasets/SAIFIINDUSTRIES/verilog_data-1/The-OpenROAD-Project_OpenROAD/src/dbSta/include/db_sta/DelayFmt.hh
-
curl -L -o DelayFmt.hh https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenROAD/src/dbSta/include/db_sta/DelayFmt.hh
536 Bytes
| // SPDX-License-Identifier: BSD-3-Clause | |
| // Copyright (c) 2019-2025, The OpenROAD Authors | |
| // | |
| // Fmt formatter for sta::Delay (and aliases: ArcDelay, Slew, Arrival, | |
| // Required, Slack) so they can be used with spdlog/fmt formatting. | |
| template <> | |
| struct fmt::formatter<sta::Delay> : fmt::formatter<float> | |
| { | |
| auto format(const sta::Delay& d, format_context& ctx) const | |
| { | |
| return fmt::formatter<float>::format(sta::delayAsFloat(d), ctx); | |
| } | |
| }; | |