Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from YosysHQ:master #258

Open
wants to merge 1,436 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
1436 commits
Select commit Hold shift + click to select a range
6bae89b
Undid accidental formatting
alchitry Oct 26, 2023
74d7ebc
clangformat
gatecat Oct 28, 2023
d40c6e8
himbaechel: Generation speedup and improvements
gatecat Oct 28, 2023
d6f54fd
ice40: add static placer support
Ravenslofty Oct 29, 2023
214cc43
static: density multiplier should be a vector
Ravenslofty Nov 6, 2023
e3c44dd
ice40: add IO group to static
Ravenslofty Nov 6, 2023
fe52840
archapi: Add new API for global constant routing
gatecat Oct 18, 2023
cf64746
himbaechel: Add support for new constants API
gatecat Oct 28, 2023
7b0e082
clangformat
gatecat Nov 7, 2023
4c6003a
router2: Don't use estimates for constant nets
gatecat Nov 7, 2023
506d5f9
machxo2: less pessimistic delay prediction
Ravenslofty Nov 9, 2023
0106c3d
gowin: Himbaechel. Diff io BUGFIX.
yrabbit Nov 13, 2023
a4d2244
Fix printf formats
uis246 Nov 11, 2023
a32ad13
ecp5: Don't segfault while packing FFs when DI port of TRELLIS_FF unc…
laanwj Nov 14, 2023
5bfe0dd
himbaechel: Adding a xilinx uarch for xc7 with prjxray
gatecat Oct 16, 2023
e2a887e
himbaechel: Switch default back to router1 for now
gatecat Nov 17, 2023
55635cf
Update README
gatecat Nov 17, 2023
6683fd4
himbaechel: Fix when more then 32k unique node shapes
gatecat Nov 22, 2023
7814f44
Fix abstract class implementation for fpga_interchange
cbalint13 Nov 17, 2023
de3d5be
python: Remove deprecated use of Py_SetProgramName
gatecat Nov 22, 2023
0b8a93e
fix compile warning
mmicko Nov 22, 2023
1ec8e41
set render bound box, so grid is displayed
mmicko Nov 22, 2023
ec60542
create wiremap for himbaechel arch
mmicko Nov 23, 2023
e3f4578
CRLF -> LF eol
mmicko Nov 23, 2023
f2c280f
gowin: Himbaechel. Initial BSRAM support
yrabbit Oct 3, 2023
90d4863
gowin: Himbaechel. Add GW1NZ-1 BSRAM.
yrabbit Nov 20, 2023
c13b34f
gowin: Himbaechel. Add BSRAM for all chips.
yrabbit Nov 26, 2023
6d93224
static: Reduce stddev of initial solution
gatecat Nov 26, 2023
b4ca68c
Add ability to override Cluster methods in Himbaechel
mmicko Dec 11, 2023
d1083fd
static/ice40: bug fixes for ultraplus
Ravenslofty Dec 9, 2023
535709a
placer1: Fix various bitrot
gatecat Dec 8, 2023
5658785
nexus: Improve error reporting for illegal carry chains
gatecat Dec 18, 2023
4191487
.gitignore for nextpnr-himbaechel
mmicko Dec 23, 2023
4a40251
run clangformat
gatecat Dec 26, 2023
d2297b1
Add Rust FFI bindings
Ravenslofty Dec 8, 2023
1dbd810
first round of review fixes
Ravenslofty Dec 20, 2023
49d5058
second round of review fixes
Ravenslofty Dec 31, 2023
1bbcc5f
(broken) third round of review fixes
Ravenslofty Jan 2, 2024
e12ab86
rust: Fix segfault
gatecat Jan 3, 2024
50d4374
rust: silence warnings
Ravenslofty Jan 3, 2024
7fd80c5
common/kernel: Fixed unused parameters and spurious `;` warnings in s…
dragonmux Jan 3, 2024
cb4db2d
ice40: Fixed unused parameters and spurious `;` warnings in some of t…
dragonmux Jan 3, 2024
e9c69ac
gui: Fixed unused parameters and spurious `;` warnings in one of the …
dragonmux Jan 3, 2024
7d0c4ea
rust: Reworked `npnr_context_get_wires_leak()` using std::accumulate(…
dragonmux Jan 3, 2024
cfeb588
rust: Reworked `npnr_context_get_pips_leak()` using std::accumulate()…
dragonmux Jan 3, 2024
3e46fbc
rust: Reworked the unwrap helpers by effectively hiding the crime of …
dragonmux Jan 3, 2024
cb269b4
rust: Made the wrap helper `inline` and fixed an accidental copy error
dragonmux Jan 3, 2024
6a9ad61
rust: Fixed an unused parameter warning
dragonmux Jan 3, 2024
5013392
Add trivially copyable invariant for ID types
gatecat Jan 4, 2024
d867019
upgrade to C++17
Ravenslofty Jan 3, 2024
2c8ad5f
Fix a renamed Qt item
Ravenslofty Jan 3, 2024
d557e3e
hashlib: constify const_iterators
Ravenslofty Jan 4, 2024
257fbe5
readme: update build prerequisites
Ravenslofty Jan 5, 2024
d00fdc8
frontend: Ignore $scopeinfo
gatecat Jan 11, 2024
2afb1f6
clangformat
gatecat Jan 12, 2024
f12e764
rust: add mutex for arch manipulation
Ravenslofty Jan 16, 2024
c5fc34f
rust: slight cleanup
Ravenslofty Jan 16, 2024
c8e1cbc
rust: transform pointers to references where possible
Ravenslofty Jan 16, 2024
6e4e814
rust: nets isn't send/sync
Ravenslofty Jan 16, 2024
d0e0166
rust: fix build error
Ravenslofty Jan 16, 2024
dfd651a
rust: fix some calls that got wrongly replaced
Ravenslofty Jan 16, 2024
14a0906
rust: rework portref_cell
Ravenslofty Jan 16, 2024
a0e360f
rust: convert netinfo_driver to Option
Ravenslofty Jan 17, 2024
4220ce1
gui: Remove const on max_elems_
gatecat Jan 18, 2024
8968c84
Increase the set of PnR-excluded cells
gatecat Jan 23, 2024
97f5c3c
Add documentation for Himbaechel Gowin uarch
pepijndevos Jan 20, 2024
91b0c4f
gowin: Himbaechel. Deal with SP BSRAM ports.
yrabbit Jan 23, 2024
73b7de7
gowin: Himbaechel. Fix the style.
yrabbit Jan 23, 2024
9dcd0ef
static: Add a basic threadpool
gatecat Jan 24, 2024
e7192cd
static: Fix ifdefs
gatecat Jan 26, 2024
325985e
gowin: Himbaechel. SPX9 BSRAM BUGFIX.
yrabbit Jan 27, 2024
a65ddff
Update workflows
mmicko Jan 29, 2024
b05cb86
gowin: Himbaechel. Global router BUGFIX.
yrabbit Jan 28, 2024
4eeb56c
gowin: Himbaechel. Improve global router.
yrabbit Jan 31, 2024
833cb86
gowin: Himbaechel. Edit message text.
yrabbit Feb 6, 2024
cc273c1
gowin: Himbaechel. Handle SDP OCE
yrabbit Jan 30, 2024
255633c
static: First pass at timing-driven placement
gatecat Feb 9, 2024
aa26ba7
static: Improve singleton handling
gatecat Feb 20, 2024
05ed930
ecp5: Improve router performance on slower speed grades
gatecat Feb 20, 2024
4981ebb
gowin: Himbaechel. Improve the global router
yrabbit Feb 11, 2024
4e8436a
gowin: Himbaechel. Allow to combine IOLOGIC.
yrabbit Feb 9, 2024
ff96fc5
gowin: Himbaechel. Fix IDES16/OSER16
yrabbit Feb 10, 2024
210e0fa
gowin: Add support for DSP primitives.
yrabbit Mar 18, 2024
5ecb669
gowin: BUGFIX fix typo
yrabbit Mar 18, 2024
693058a
Eliminate gcc13 warnings.
abellgithub Mar 19, 2024
b4da575
One more warning.
abellgithub Mar 20, 2024
7f9f75c
Tweak the FreeBSD version of proc_self_dirname() to work on NetBSD an…
thorpej Mar 3, 2024
465cbfa
Add share to .gitignore
mmicko Feb 29, 2024
75af8cc
gui: user more reliable locking
mmicko Feb 29, 2024
ac72546
gui: fix warning on closing application
mmicko Feb 29, 2024
1f25f20
Make example more like other arch
mmicko Feb 29, 2024
9bb46b9
update ci build script
mmicko Feb 29, 2024
6b7723e
Gowin. Add PLL pads.
yrabbit Apr 7, 2024
d3b53d8
Gowin. PLL Pads. Fix the condition.
yrabbit Apr 8, 2024
4d5c48a
Gowin. Fix DSP MULT36X36
yrabbit Apr 17, 2024
edcafcf
Ignore compile artifacts in rust directory
mmicko Apr 17, 2024
f085950
Fixed header files for boost 1.85.0
pdaehne Apr 26, 2024
7a00e76
static: Exclude dark nodes from steplength
gatecat May 3, 2024
89e3b7d
static: Fix float overflow issue
gatecat May 3, 2024
3f2451f
static: Guard density CSV dumps behind a flag
gatecat May 3, 2024
0dc4bcb
Format utlilisation for larger FPGA as well
mmicko May 3, 2024
f99346b
fix for windows path
lushaylabs Apr 20, 2024
eb05543
use boost for windows path
lushaylabs Apr 21, 2024
09703c7
update import to boost
lushaylabs May 3, 2024
423f1b7
static: Make bin stamping more consistent
gatecat May 8, 2024
59a29e5
nexus: Use a toposort when preplacing clock primitives
gatecat May 16, 2024
b7f91e5
Update cached Yosys in CI
gatecat May 16, 2024
61cc525
prefine: Add shared lock around bel availability checks
gatecat Jun 12, 2024
945cf48
static: Various convergence improvements for ECP5
gatecat May 15, 2024
c89037d
static: Speedup with parallel wirelength gradient computation
gatecat Jun 18, 2024
a29a17f
clangformat
gatecat Jun 18, 2024
8f87918
Gowin. Add fix for Single Port BSRAM
yrabbit Jun 23, 2024
2e8280a
Gowin. Fix pipeline mode in BSRAM.
yrabbit Jun 25, 2024
0639681
Gowin. Fix BSRAM block selection.
yrabbit Jun 27, 2024
ba29343
ice40: Fix Python bindings for pip iterators
tarikgraba Jul 2, 2024
7dd4a8c
Gowin. Implement power saving primitive
yrabbit Jul 6, 2024
6b5b21e
Enable user to override setupArchContext in Himbaechel arch
mmicko Apr 17, 2024
cecd6b3
Document context related calls in HimbaechelAPI
mmicko Apr 19, 2024
1871afe
Gowin. Taking into account the features of ROM
yrabbit Jul 4, 2024
eb099a9
Gowin. Bugfix.
yrabbit Jul 8, 2024
f17caa2
Gowin. BUGFIX. Fix placement checks
yrabbit Jul 29, 2024
10a5a44
Gowin. Implement clock management primitives.
yrabbit Jul 14, 2024
11d335c
Gowin. Fix GW2A-18(c) DCS and DQCE
yrabbit Jul 14, 2024
e9e7dce
Himbaechel Gowin: HCLK Support (#1340)
Seyviour Aug 3, 2024
f199c3e
Update shell.nix (#1347)
rowanG077 Aug 12, 2024
0d5d329
SDC parsing support (#1348)
rowanG077 Aug 12, 2024
fa55e93
Himbaechel xilinx : Fix regex to parse Zynq device names
marzoul Aug 19, 2024
ccdc2f6
himbaechel/gowin: add timing information
Ravenslofty Oct 5, 2023
01737a4
Gowin. Add clock wires delays.
yrabbit Aug 17, 2024
32e2d92
Gowin. BUGFIX. Timing
yrabbit Aug 21, 2024
2dc7121
allow LFD2NX devices to be specified with --device (#1353)
cfib Aug 21, 2024
4cf7afe
Gowin. Implement the UserFlash primitive (#1357)
yrabbit Sep 4, 2024
4d1de45
Gowin. BUGFIX. Create all Clock Pips. (#1358)
yrabbit Sep 5, 2024
8d0f52f
timing: Move towards DelayPairs for timing reporting (#1359)
rowanG077 Sep 11, 2024
ff7b853
Gowin. Add DHCEN primitive. (#1349)
yrabbit Sep 11, 2024
50bd8d0
Gowin. Implement the EMCU primitive. (#1366)
yrabbit Sep 12, 2024
2627d4e
ecp5: Allow disabling of global promotion (#1367)
rowanG077 Sep 12, 2024
6ca6452
Fix handling of RNG seed
jthornblad Sep 17, 2024
4b63b11
Bump tests submodule
gatecat Sep 20, 2024
2d542eb
timing: Add hold time to bound of critical path report
rowanG077 Sep 6, 2024
44665a9
timing: Allow critical path traversal for shortest paths
rowanG077 Sep 6, 2024
c25da06
timing: Start identification of min_delay violations
rowanG077 Sep 11, 2024
7aeed52
common: Add some convenience functions for development
rowanG077 Sep 11, 2024
82ea65d
timing: Report min delay violated in timing logger
rowanG077 Sep 11, 2024
60ee682
timing: Make hold violations an error
rowanG077 Sep 12, 2024
fc3b2de
timing: Add clock skew to arrival and required time
rowanG077 Sep 12, 2024
86106cb
timing: integrate c2c delays and cleanup code
rowanG077 Sep 13, 2024
8e12dfc
timing: cleanup clock2clock reporting
rowanG077 Sep 17, 2024
4488d42
log: Remove bad usage of [[no_return]]
rowanG077 Sep 17, 2024
3b7fec8
report: Handle new segment types
rowanG077 Sep 17, 2024
eb0bf9e
report: Handle new segment types
rowanG077 Sep 17, 2024
bca6f63
timing: Fix slack calculations
rowanG077 Sep 17, 2024
a7f79fd
timing: minor cleanup and stupid mistake fixups
rowanG077 Sep 17, 2024
8ee2c56
timing: Add safe zero check function for delay_t
rowanG077 Sep 17, 2024
5488cd9
router: Enable clock skew analysis during routing
rowanG077 Sep 19, 2024
25d64b2
timing_log: Fix logging indendation to match master
rowanG077 Sep 19, 2024
0fce4b8
timing: lower clock_delay_fact to 1 to check if CI passes
rowanG077 Sep 19, 2024
098dcae
timing: remove the articial clock delay inflation
rowanG077 Sep 19, 2024
93e233d
timing: Fix hold slack not matching reported path delay
rowanG077 Sep 20, 2024
0af42f1
common: Use `NPNR_ASSERT_FALSE` for unreachable case
rowanG077 Sep 23, 2024
bbdf7aa
timing_log: warn on min time violation when timing fail is allowed
rowanG077 Sep 23, 2024
db0c991
Himbaechel xilinx : Add support of DSP packing for 7-series
marzoul Sep 11, 2024
04f5f80
Himbaechel xilinx : Add safety check in DSP packing for 7-series
marzoul Sep 13, 2024
ad9a54c
Himbaechel xilinx : More cascaded input ports for which routing is sk…
marzoul Sep 13, 2024
9bea22e
Himbaechel xilinx : DSP packing : Fix identification of cascaded port…
marzoul Sep 17, 2024
a08229d
Placer : Clearer messages in warnings and errors
marzoul Sep 17, 2024
8a0e062
Himbaechel xilinx : DSP packing : Improve code efficiency
marzoul Sep 19, 2024
81bf92a
Himbaechel xilinx : DSP packing : Disable clustering
marzoul Sep 19, 2024
2031a06
Himbaechel xilinx : More flexibility about types of DSP parameters
marzoul Sep 19, 2024
9da05b6
Himbaechel xilinx : DSP packing : Emit a non-fatal error message
marzoul Sep 24, 2024
cd51a0c
Placer : Emit non-fatal error messages before ending the program
marzoul Sep 24, 2024
437fb70
Himbaechel xilinx : Fix packing of cascaded DSP
marzoul Sep 24, 2024
c90d872
xilinx: Filter out another missing pip type
gatecat Sep 26, 2024
118ecbc
xilinx: Remove unnecessary assert
gatecat Sep 26, 2024
7516b89
xilinx: Few more stub timings
gatecat Sep 26, 2024
e4dfd4e
xilinx: Support single-port LUTRAM variants
gatecat Sep 26, 2024
38e5fac
xilinx: Fix workaround for unsupported xdc construct
gatecat Sep 27, 2024
d3c0f94
xilinx: Fix BRAM placement, clangformat
gatecat Sep 27, 2024
24fc33c
xilinx: Basic I/ODDR support
gatecat Sep 27, 2024
1967db1
xilinx: Support for complex IOLOGIC
gatecat Sep 27, 2024
fcdaf3f
Remove fpga_interchange
gatecat Sep 30, 2024
9b51c6e
clangformat
gatecat Sep 30, 2024
cc04882
BaseCtx : Fix crash in getNetByAlias()
marzoul Oct 1, 2024
ff9ba9e
Himbaechel Xilinx : More warning messages about unsupported things in…
marzoul Oct 1, 2024
a9cc7f4
Himbaechel Xilinx : Support multiple nets per command
marzoul Oct 1, 2024
3d00b97
Himbaechel Xilinx : Support get_nets with braces around net name in X…
marzoul Oct 1, 2024
7f33329
Himbaechel Xilinx : XDC commands : Also search nets with lowercase fo…
marzoul Oct 1, 2024
b3b2392
clang-format on basectx.h
marzoul Oct 1, 2024
268b32c
router2: additional heatmap data
Ravenslofty May 22, 2024
65cf6d8
Gowin. Fix the port check for connectivity. (#1376)
yrabbit Oct 2, 2024
75d2ce6
heap: Fix ripup criterea (#1378)
gatecat Oct 2, 2024
854549a
ice40: Fix missing clock pin types (#1380)
gatecat Oct 4, 2024
0e5b134
timing_log: Handle potentially missing net when reporting crit path (…
rowanG077 Oct 4, 2024
d27993f
Placer: Fix static legalise radius (#1382)
meiniKi Oct 8, 2024
028be14
apicula: add support for magic sip pins (#1370)
pepijndevos Oct 9, 2024
7c45980
himbaechel: Bump DB version for package extra_data addition
gatecat Oct 9, 2024
cf42baa
Fix RNG seed initialization (#1383)
meiniKi Oct 9, 2024
f36a657
cmake: Use upstream BoostConfig.cmake instead of cmake's own (#1387)
gatecat Oct 22, 2024
9c2d96f
Gowin. FFs placement. (#1386)
yrabbit Oct 22, 2024
5503546
Himbaechel GUI (#1295)
mmicko Nov 21, 2024
0e69425
Add expandBoundingBox method to API (#1395)
mmicko Nov 26, 2024
2b8a235
Gowin. Add Input Edge Monitor (#1396)
yrabbit Nov 27, 2024
5eaa1b3
Gowin. Add IODELAY. (#1398)
yrabbit Nov 30, 2024
5a80711
Adding NanoXplore NG-Ultra support (#1397)
mmicko Dec 4, 2024
d810aac
Add GroupId related calls to Himbaechel API (#1399)
mmicko Dec 5, 2024
f01465f
Add attributes to the hierarchical cells (#1405)
tarikgraba Dec 17, 2024
3d350c2
Gowin. BUGFIX. Global clock routing. (#1410)
yrabbit Dec 31, 2024
0345b6e
Fix gowin ALU SUB mode ports (#1407)
aerkiaga Jan 1, 2025
c565e36
Gowin. Add the ability to place registers in IOB (#1403)
yrabbit Jan 1, 2025
55bd760
ice40: Don't constrain multiple potentially-incompatible FFs to same …
gatecat Jan 2, 2025
5fe6803
Various fixes for clang/libc++ build (#1415)
whitequark Jan 12, 2025
92694d7
Gowin. BUGFIX. Do not create missing wires. (#1418)
yrabbit Jan 12, 2025
ab7a372
himbaechel: allow subsetting uarches. (#1416)
whitequark Jan 12, 2025
574f504
Find all components of Python at the same time.
whitequark Jan 11, 2025
c48157a
googletest: fix -Werror=maybe-uninitialized failure.
whitequark Jan 15, 2025
d214308
CMake: reformat for consistency.
whitequark Jan 15, 2025
155adc3
CMake: rationalize and refactor build system.
whitequark Jan 15, 2025
284fb3e
Updating CI to work with ubuntu-latest (#1426)
mmicko Jan 20, 2025
43b2f38
CMake: use imported target for pybind11.
whitequark Jan 21, 2025
a951faa
CMake: extract bbasm compilation into a function.
whitequark Jan 15, 2025
f5776a6
CMake: eliminate `family.cmake`/`CMakeLists.txt` split.
whitequark Jan 15, 2025
dcfb7d8
CMake: align Himbaechel targets with non-Himbaechel ones.
whitequark Jan 15, 2025
bb2336a
Fix `#embed` support in bbasm and use it when available.
whitequark Jan 16, 2025
cd7f7c1
CMake: refactor architecture-specific build system parts.
whitequark Jan 16, 2025
dbba132
Allow splitting nextpnr-himbaechel per microarchitecture.
whitequark Jan 16, 2025
17943a5
CMake: remove `-DSERIALIZE_CHIPDBS=` option.
whitequark Jan 21, 2025
6855b55
CMake: use imported target for pybind11 (in the GUI).
whitequark Jan 22, 2025
fac934b
3rdparty: upgrade pybind11 to v2.12.1.
whitequark Jan 21, 2025
90d746f
CMake: add support for exporting and importing .bba files.
whitequark Jan 22, 2025
1623243
CMake: disallow in-tree builds.
whitequark Jan 22, 2025
e120932
CMake: Add include guards when IMPORT_BBA_FILES is used (#1438)
mmicko Jan 23, 2025
d673d04
CMake: fix windows BBA resource embedding
mmicko Jan 23, 2025
0c06051
Fix undefined type error in 3rdparty/json11/json11.cpp
gsomlo Jan 23, 2025
ede78f3
ecp5: Fix constant and inverted CEMUX
gatecat Jan 27, 2025
8c96809
Update README to represent most recent changes in build system
mmicko Jan 26, 2025
922c3a1
Update README to mention checking out submodules.
whitequark Jan 28, 2025
cf9c745
CMake: exclude *-bba and *-chipdb targets from `make all`.
whitequark Jan 29, 2025
b95a3ca
Gowin. Implement MIPI IO.
yrabbit Jan 23, 2025
a76c5b5
Gowin. Typo fix.
yrabbit Jan 28, 2025
81ccada
Gowin. Add I3C io buffer. (#1445)
yrabbit Jan 29, 2025
b64bf01
frontend: don't connect a const net to ports connected to `x`. (#1447)
whitequark Jan 31, 2025
7718761
kernel: look up ports when applying clock constraints. (#1448)
whitequark Jan 31, 2025
e4115e8
Prevent chipdb array type narrowing conversion issues
gsomlo Jan 31, 2025
6caa6e4
CMake: add_custom_target does not require EXCLUDE_FROM_ALL
mmicko Feb 11, 2025
1ed03ae
gowin: Add deprecation message for nextpnr-gowin (#1455)
mmicko Feb 13, 2025
f3a5024
Gowin: Remove nextpnr-gowin (#1318)
yrabbit Feb 14, 2025
e751eac
generic: Fix archcheck crash
gatecat Feb 25, 2025
0c458f1
generic: Enable viaduct example test in CI
gatecat Feb 25, 2025
661f76d
Add arch API function for pip inversion (#1457)
Ravenslofty Feb 27, 2025
0492c55
ci: test that BUILD_RUST=ON builds (#1459)
Ravenslofty Mar 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
kernel: look up ports when applying clock constraints. (YosysHQ#1448)
prjunnamed does not emit a net alias for toplevel ports. This works
fine for constraining IOs but breaks clock constraints. This commit
expands clock constraint application code to look up net aliases first,
ports second.
whitequark authored Jan 31, 2025
commit 77187613e32fa246850e68775f897c5a316e2d44
11 changes: 7 additions & 4 deletions common/kernel/basectx.cc
Original file line number Diff line number Diff line change
@@ -100,12 +100,15 @@ void BaseCtx::addClock(IdString net, float freq)
cc->period = DelayPair(getCtx()->getDelayFromNS(1000 / freq));
cc->high = DelayPair(getCtx()->getDelayFromNS(500 / freq));
cc->low = DelayPair(getCtx()->getDelayFromNS(500 / freq));
if (!net_aliases.count(net)) {
log_warning("net '%s' does not exist in design, ignoring clock constraint\n", net.c_str(this));
} else {
if (net_aliases.count(net)) {
getNetByAlias(net)->clkconstr = std::move(cc);
log_info("constraining clock net '%s' to %.02f MHz\n", net.c_str(this), freq);
} else if (ports.count(net)) {
ports[net].net->clkconstr = std::move(cc);
} else {
log_warning("net '%s' does not exist in design, ignoring clock constraint\n", net.c_str(this));
return;
}
log_info("constraining clock net '%s' to %.02f MHz\n", net.c_str(this), freq);
}

void BaseCtx::createRectangularRegion(IdString name, int x0, int y0, int x1, int y1)