This parser has been developed to help users to implement their custom tool/utility by using the Java or Tcl APIs. It reads UPF file and populates its internal data structures. There are APIs to extract the design information from the database. Also, capabilities to validate the UPF with the RTL/Netlist and Library to ensure it is in sync with the design implementation environment.
The Editor highlight any syntax errors and also it has content assistance capability which shows available commands and options of a given command.
Recent UPF changes (release 10.0)
set_scope .returns to the scope the file started in (the design top, or theload_upf -scopeinstance), the way real decks end aset_scope u_subblock.- Instances inside generate blocks bind in
elabvl -upf; port and net names given as nested Tcl lists keep their structure. - A Tcl error in a command is reported as Error 50111 with the Tcl message and the command, and the run goes on with the next command.
- The decompiler writes
available_suppliessets first, keepsadd_supply_stateof nets and instance port states, no longer givescreate_logic_netan illegal-domain, braces bus-bit net names, keeps an empty-ack_portnet and writes nomap_retention_cell { }for an unresolved strategy. - upf2xlsx brings existing UPF into the xls2upf workbook and back. The regression runs UPF to workbook to UPF on 37 real-life and authored UPF cases and checks that the re-read UPF has no more errors than the original, that compareupf finds it equivalent, and that it is legal UPF; the
upfcorpusfamily reads, decompiles and compares 42 cases with provenance and license recorded for each.
More SDC and UPF tools
- parseupf - UPF parser and flattener with a Java API
- upflint - lint UPF power intent against a rule catalogue
- compareupf - compare two UPF files
- xls2upf and upf2xlsx - UPF from and to an Excel spreadsheet
- sdc2xls and xls2sdc - SDC to and from an Excel workbook
- sdc-shell, sdclint, comparesdc, parsesdc - the SDC counterparts
Part of the EDAUtils toolset
- Baya - AI-enabled SoC integration with IP-XACT and a 200+ command Tcl API
- IP-XACT 1685 solution - component packaging, registers, memory maps and generators
- RTL utilities - parsers, translators, testbench and document generators
- Run online free - try this tool in the browser, no install