nextpnr/himbaechel/uarch
Justin 77c5c67ade
fix: handle string DRIVE property in pack_io without crashing (#1668)
* fix: handle string DRIVE property in pack_io without crashing

The XDC parser stores all set_property values as string Properties,
but pack_io.cc called as_int64() on DRIVE which asserts !is_string.

Rather than converting numeric values to integer Properties in the
XDC parser (which risks breaking properties like LOC that downstream
code reads via to_string()/as_string()), fix the consumption site
in pack_io.cc to convert string values to integers when needed.

* refactor: use int_or_default for DRIVE property parsing

Replace manual is_string/as_int64 branching with int_or_default(),
which already handles both Property types with proper error reporting.
2026-03-14 07:01:10 +00:00
..
example himbaechel: add uarch specific options parsing (#1582) 2025-10-21 14:41:53 +02:00
gatemate himbaechel: Add getDefaultRouter, default to router2 for gatemate (#1649) 2026-02-25 16:16:36 +01:00
gowin gowin: Add timings for BRAM 2026-03-11 15:24:40 +00:00
ng-ultra himbaechel: add uarch specific options parsing (#1582) 2025-10-21 14:41:53 +02:00
xilinx fix: handle string DRIVE property in pack_io without crashing (#1668) 2026-03-14 07:01:10 +00:00