Repository navigation
Xeda 1.0.0rc3 is the third release candidate for 1.0.0. An audit of rc2 found places where the public contract was not yet one consistent shape: names, units, document versions, strict input and the types of the Python API. This release fixes them, so that 1.0.0 freezes one consistent contract. After 1.0.0, a breaking change needs a new major version (see the stability page of the documentation).
Install it with pip install --pre xeda, or pip install xeda==1.0.0rc3.
Some changes from rc2 break code, scripts or design files written for rc2. The changelog below lists each one with what to use instead. The main ones:
- Relative paths in flow settings are read from the design root in every flow. To name a path under the start directory, write
$PWD/.... - Source types take only the exact name, such as
Vhdl, andSource(path, type=...)takes the type as a keyword. - Metrics: a metric name means one quantity in every flow, and every metric has one unit. For example, OpenROAD reports
wnsinstead ofworst_slack. - JSON documents all have a
schema_version.xeda remote cancel --jsonnames the launchlaunch_id, and thereceiptofxeda pdkis an object. - Python API:
ScrubResultis a frozen dataclass, the fixed mappings haveTypedDicttypes, the sweep column isdesign_name, andxeda.sweephas noremoteparameter. - Settings:
sby.timeoutrefuses a value below 1 s, andghdl_sim.stop_deltatakes a whole number.cleanup_bobjs,flow3and somevivado_alt_synthoptions are removed.
New in this release: the xeda tools commands, which download the OSS CAD Suite into a tool store and check its digest, and pint quantities in the Python API.
Fixed
- With
abc.mfs3: true, the yosys ASIC flow writesmfsmap, the new name of the ABC command
mfs3, with-afor area strategies and-dfor delay strategies. An ABC from before
2026-10-28 refuses it. - A node that a failed producer blocks no longer creates an empty run directory.
Workspace.records
no longer reports amissing_recordproblem for it. bsc_simcompiles the C and C++ sources of imported functions (import "BDPI") in the run
directory. Before, bsc wrote each object file beside its source, and replaced a listed object
file of the same name there. The flow also runs again after an edit of a header that such a
source includes, even an unlisted one.bsc_simfails before the simulation when the module it simulates has methods, instead of
running without end. Simulate a testbench with anEmptyinterface (tb.top).dcnow writes and reads times in the library time unit that its new settinglibrary_time_unit
sets (default1 ns). Before, a library in ps gave clock periods, slack and Fmax that were 1000
times off.dcnow reports the smallest slack of all path groups aswnsandwhs. It writesfmax,
clock_periodandclock_nameonly when the timing report has one clock.- A design refuses a
parametersordefinesvalue that is not a JSON value (an object, a set,
a path, or a number that is not finite) when it loads, not when it writes its document. - The design file schema now accepts a flow section that is
nulland a dotted key such as
flows: {yosys.flatten: true}, and refuses atb.topof three items, as the loader does. A
design file withgeneration_unitsorresolved_dependenciesis refused as an unknown key. diamond_synthfails with the missing report, not with an internal error, when the place and
route report lacks the run status. A missing clock constraint leaves the clock metrics unknown.- A Docker image with its own tag keeps it, and a changed image now reruns the flow. An image whose
ID cannot be read no longer counts as unchanged. A registry port in an image text, as in
localhost:5000/img:tag, is no longer taken for the tag. The image is checked through the same
client (docker,podman) and daemon that the run used. xeda dsereports a design file that does not exist asdesign_file_not_found, asxeda run
does. A usage error in its--jsondocument keeps the design of--design-name.XEDA_DSE_SETTINGSandXEDA_OPTIMIZER_SETTINGSwork: they takeKEY=VALUEitems separated by
spaces, with shell quoting. A malformed value is a usage error that does not repeat its text.- Quartus, Vivado and OpenROAD report
fmaxas the lowest value over the clocks and, for
Quartus, the slow timing models that the reports list. Quartus reports nofmaxwhen a clock has
no value in one model, and keysfmax_by_clockby clock name only.vivado_synthcounts a
generated clock too, which Vivado indents in the clock summary. - Every node of a result now has its
node_startedandnode_finishedevents, except askipped
ordetachednode, in a launch, a sweep and a remote launch alike. A sweep starts all its worker
processes before its first node, so a failure to start one runs no node. - A node that fails or is canceled before its run begins, such as a sweep task that a worker
refuses withstale_runtime, now has the dispositionnot_runinstead ofran.on_eventnow
gets the events of every node that failed, and a remote launch tells the node events that the
launch on the host told. quartusreportslutandfffor Cyclone V and other ALM families, and leaves out a slack
that the report gives asN/A. Alanguage.vhdl.standardof08or93now gives a valid
input version, and a standard that Quartus does not know is refused at planning.- A
QuestionthatWorkspace.confirmreceives is read-only: settingremovalorundoneraises
AttributeError. - A
results.jsonthat holds a metric with no entry inmetric_info, or a number that is not
finite, is now acorrupt_record. - A remote launch now keeps a
SIGINTthat your process ignores ignored, as a tool run does for
its stop signals. - A
CancelTokennow stops a remote run during its first steps (connect, provision, agent start,
sync, plan comparison) and returns acanceledresult. A canceled or interrupted provisioning
also stops on the host and frees its lock. - A remote
Workspace.run(plan)runs what the host compared with the saved plan. A Git branch that
moves after the comparison no longer changes the commit. A changed request or dependency file is
a stale plan. - A remote plan and a remote run no longer fail with "resolved another plan" when the design and a
dependency list one file, whichever lists it first or whatever the directory layout. Result.recordraisesRecordError(missing_record) for a result with no root node, instead
ofIndexError.- A
run_rootof a private settings file expands a leading~or~/, instead of making a
directory named~beside the file. nextpnrno longer fails withinternal_errorwhen its source file changed after Xeda was
imported: a flag name no longer comes from reading the caller's source. Xeda no longer needs
varname.SettingsError.originnames the layer that gave the refused value (a settings file or the
Spec). It was alwaysNone.- The
specof a run document now writes a setting in the unit of its field also for a dotted key
such asghdl_sim.timeoutornextpnr.clock.period. - The list of
SpecErrorcodes now includesinvalid_run_rootandflow_not_importable, which
Xeda already raised. - A sweep with workers refuses a flow class that a function makes at run time, with
flow_not_importable. A worker that does not rebuild a flow as the sweep planned it fails that
node with the same code. - A
$VARin a path setting expands from the environment that the sweep took at its start. A
change of the environment during the sweep no longer makes the plan stale. - A sweep reads a producer that another launch ran again only when that run used the code that
planned the sweep. Otherwise the consumer fails, and its error says why. - The C reference of the Trivium testbench computes the last bytes of a keystream whose length is
not a multiple of 8 bytes correctly. - A flow class made with
type()now always runs, as Xeda cannot find its code. Before, its code
digest covered the file of theabcmodule of Python instead of its own code. Spec,Plan,Result,SweepPointandSweepResultare explicitly not hashable:hash()on
them raisedTypeErrorbefore, and now their class says so.- A script that starts a launch before
if __name__ == "__main__":now fails in each sweep worker
withunguarded_main, and the error of every point names the missing guard. It no longer runs
the launch again in each worker, or ends with "process pool was terminated abruptly". yosys_fpgarefuses a device that yosys cannot synthesize for, or a setting that the synthesis
pass of the device never takes (such aswidemuxoutside Xilinx), when it plans the run (also
with--dry-run), not when the run starts. It also refusesabc_dff: truewith ABC9 for ECP5.- A metric whose value is 0 is now reported as 0 and no longer left out, such as
dspandffof
vivado_synthandyosys_fpga, andcells,cell_typesandlibrary_area.cellsofyosys.
Added
- Put the newest installed OSS CAD Suite on
PATHfor every run. Thetoolskey of the private
settings files turns itoffor selects a date. A cocotb testbench uses acocotb-configof your
own environment before the one of the suite. - A Bluespec include file is now a
BluespecHeadersource (.bsvi, ortype: BluespecHeader).
Thebscandbsc_simflows run again when it changes. - The
bscandbsc_simflows have aninstalled_librariessetting. It names folders below the
Librariesfolder of bsc's installation, such asFPGA/Xilinxfor bsc-contrib installed into
bsc. - Every
--jsondocument ofxeda pdkandxeda remote check|clean|cancel, and every--json
failure document, hasschema_version. RunRecord.quantity(path)returns a metric as a pint quantity, andRunRecord.quantities(path)
returns a metric of the typenumbersas a table of quantities.SweepResult.rowsand
to_pandasgive pint quantities in the cells withquantities=True.- A quantity setting takes a pint quantity from Python, such as
pint.Quantity(10, "ns"), and
gives the same run as the text10 ns. ASpeckeeps the quantity read-only, and
--remote --keep-runningaccepts it. xeda run --dry-runandPlanNode.executable_checkshow whether the main program of each node
is on thePATHthat the node would get. The check never refuses a plan.- Add the
pathkey to the private settings files. Its directories go in front ofPATHfor the
tools of every run. - Add a JSON Schema of the project file,
xeda/data/schemas/project.schema.json, beside the schema
of the design file. - Add the notebook
06-qor-history: it reads the records of past runs and plots a metric over
time. print(result)andprint(listing)now show the cause of a failed launch and the run
directories that Xeda could not read.Result.require_passed()names the failed node and its
error code.- Document the keys of the
sim.evidencemetric inxeda list-results. - A launching call raises the new
xeda.errors.StaleRuntimeError(codestale_runtime) when the
code of Xeda or of a plugin flow changed on disk after the process imported it, such as in a
notebook kernel. It reuses nothing and keeps no trace: restart the process. A sweep worker
refuses a node from such a process the same way. - Add
xeda tools list|path|install.xeda tools install oss-cad-suitedownloads the OSS CAD Suite
(the build of 2026-11-10 by default) into a tool store, and checks its SHA-256 digest first.
Changed
bsc_simwith Bluesim no longer reportssim.time, because the Bluesim kernel counts unitless
ticks.sim.evidencekeeps the cycle count, and its times are ticks with a nulltime_unit.- The error text of the
bscandbsc_simflows names the real source files. The console and the
log show the names that bsc uses, such asbsc_sources/Top.bsv. - A missing
search_pathsorinstalled_librariesfolder now fails thebscandbsc_simrun,
whatever the warning settings. A missingverilog_search_pathsfolder fails a run with a Verilog
backend. Fix or remove the entry. - The
bscandbsc_simflows refuse path flags such as-p,-vsearchand-bdirin
extra_flags, andBSC_OPTIONSinenv. Use the matching settings, such assearch_pathsand
bobj_dir, and put bsc options inextra_flags. - The
bscandbsc_simflows find a package, an include file or a Verilog module of the design
only in a listed source or in a folder of the settings. A design that uses an unlisted file now
fails: list the file, or name its folder insearch_paths(verilog_search_pathsfor a Verilog
module). A stray compiled.boin asearch_pathsfolder is no longer read. - The
xezimmetricscoverage.statement,coverage.branchandcoverage.toggleare ratios
from 0 to 1, not percentages. Design.load,with_updatesandwith_targetare annotated as returningSelf, and the
licenseargument ofDesign(...)is annotatedstr | Sequence[str] | None.- The setting
stop_deltaofghdl_simis a whole number of delta cycles, as innvc. Write20,
not"20". xeda pdk list --jsonprints an object withschema_versionand aplatformslist, as the
other list commands do. It was a bare list: read the list from that key.- In
xeda pdk install --jsonandxeda pdk path --json,receiptis the receipt object of the
install, ornullif the store has none. It was the path of the receipt file. The receipt file
hasschema_versionandinstalled_at(it wastime). - Built-in metric names now mean one quantity in every flow, such as
area.stdcells(OpenROAD
area) andlibrary_area.cells(yosysarea). New keys arefmax_by_clock,thsand
bel_types. The docs list every old and new name. - The results tables of
xeda runandxeda dseshow each metric with its unit, and a time such
assim.timein the largest exact unit (30 us). "Best so far" ofxeda dsenow shows zero
values too. - The artifact keys of the logs of
c++andg++arecxx_logandgxx_log, notc_logand
g_log: a+in a program name becomesx. - A relative path in a flow setting is now read from the design root in every flow. Before, some
flows (for examplenvc.cover_spec,tcl_filesof Vivado andextraction.rules_fileof
OpenROAD) read it from the run directory, and the trace also looked under the start directory.
If you relied on the start directory, write$PWD/.... xeda remote cancel --jsonnames the launchlaunch_id, as every other document does. It was
launch.- The setting
timeoutofsbyis shown in seconds (60 s), as in every other flow, and a value
below 1 s is refused when the settings are read. A value in another unit of time still works. ScrubResultis now a frozen dataclass with keyword-only fields, not a named tuple. Read its
fields by name: it no longer unpacks or indexes.- The built simulation program of
bsc_simis the artifactsimulator, as inyosys_sim. It was
executable. - A source
typein a design takes only the exact name of the type, such asVhdl. A name in
another letter case, or a number, is refused, and the message gives the right spelling. Source(path, type=...)takes the source type as the keywordtype, the name of the field
Source.type. The positional second argument and the keywordtypare gone.- The sweep notebook synthesizes
examples/sv/trivium, a new SystemVerilog port of the Trivium
example, so it no longer needs the GHDL plugin of Yosys. It also variesnowidelut, draws the
Pareto front over every run, and stops with a clear message when no point passed. - The
designcolumn ofSweepResult.rows()andto_pandas()is nowdesign_name, as in every
other document. Rename it in code that reads the column. - The fixed mappings of the API have
TypedDicttypes:Plan.options, the entries of
RunRecord.dependencies,OutputRecord.designand each listing ofxeda.introspect. A type
checker now knows their keys. A record with nodesign_filein a dependency is refused. - The non-project Vivado flows write
critical_paths.csvandcritical_paths_by_delay.csvinstead
ofcritpath_report.csvandcritpath_by_delay_report.csv. The artifact keys
route_design_critpath_report_csvandroute_design_critpath_by_delay_report_csvare now
route_design_critical_paths_csvandroute_design_critical_paths_by_delay_csv, and
post_place_post_place_power_optimization_rptis nowpost_place_power_optimization_rpt. - The full recipe of
yosys_fpgamaps ECP5 designs without wide LUTs (nowidelut), which saved 11%
of the LUTs on average. Setnowidelut: falsefor the previous mapping. yosys_fpgano longer gives ABC9 a delay target from the clock period, which cost about 13
percent fmax on ECP5. The newabc9_delay_targetsetting sets a target explicitly.
Removed
- The
bscandbsc_simsettingcleanup_bobjsis removed. Every run now compiles every package
again, so delete the setting. - OpenROAD no longer reports
worst_slack: readwns, now the signed worst setup slack.dcno
longer reports itsareaobject (use thelibrary_area.*metrics), andise_synthno longer
reportsminimum_period: compute it fromfmaxas1000 / fmax. - The unused dependencies
cattrs,attrs_strict,pathvalidate,simpleeval,overrides,
devtoolsandpyvcdare removed. Xeda no longer installs them. - Remove the
remoteparameter ofxeda.sweep: a sweep never ran on a remote host, so the
parameter only raised. Usexeda.runwith aRemoteto launch on a host. vivado_alt_synthno longer hastcl_files,set_synth_properties,set_impl_propertiesand
show_available_strategies, which it always refused. Delete them, or usevivado_synth.yosys_fpgano longer has theflow3setting: useabc9_script: flow3or
abc9_script: default.