BU-Tools / uHAL_AXI_regmap

Tools for building AXI slave VHDL from uHAL address tables.
Apache License 2.0
4 stars 4 forks source link

add a --fallback option to use simple parser when uhal is not available #27

Closed andrewpeck closed 2 years ago

andrewpeck commented 2 years ago

Closes #26

using --fallback True lets the program use uHAL by default, but will fall back to the simple parser if it is not available

./build_vhdl_packages.py --fallback True -x example_xml/CM_USP.xml -o test/uHAL CM_USP  --mapTemplate templates/axi_generic/template_map.vhd 

It will print out a note:

uHAL parser selected but not available... falling back to simple parser