'Commands' object has no attribute 'generate_tree'
When executing hdlmake tree
it fails with the message:
CRITICAL main.py:73: hdlmake() 'Commands' object has no attribute 'generate_tree'
But tree
is listed as a valid command:
$ hdlmake -h
usage: hdlmake [-h] [-v] [-a] [--log LOG] [--logfile LOGFILE] [-p PREFIX_CODE] [-s SUFFIX_CODE] [--full-error] [--fetchto FETCHTO] {makefile,edalize,fetch,clean,list-mods,list-files,list-deps,tree,list-json,manifest-help} ...
A tool designed to help FPGA designers to manage and share their HDL code by automatically finding file dependencies, writing synthesis & simulation Makefiles, and fetching IP-Core libraries from remote repositories.
optional arguments:
-h, --help show this help message and exit
-v, --version print the version of this program
-a, --all use all the listed files, do not solve the fileset
--log LOG logging level: debug, info, warning, error, critical
--logfile LOGFILE path to the optional log file
-p PREFIX_CODE, --prefix PREFIX_CODE
Python code executed before every Manifest.py
-s SUFFIX_CODE, --suffix SUFFIX_CODE
Python code executed after every Manifest.py
--full-error display full error log with traceback
--fetchto FETCHTO overrides the fetchto variable
commands:
{makefile,edalize,fetch,clean,list-mods,list-files,list-deps,tree,list-json,manifest-help}
makefile write the Makefile (default action for hdlmake)
edalize write a run.py file based on edalize
fetch fetch and/or update all of the remote modules
clean clean all of the already fetched remote modules
list-mods list all modules together with their files
list-files list all of the files in the design hierarchy
list-deps print all dependencies
tree generate a module hierarchy tree graph
list-json list all the files using a JSON list
manifest-help print manifest file variables description
Was it supposed to call ActionTree.generate_tree()
?