Skip to content

Revamp verilogtree to include an interactive mode #63

@LiamSkirrow

Description

@LiamSkirrow

I've made the decision that verilogtree will become a larger project with more functionality. Therefore, it's important to include the functionality as standalone tools that can be invoked from the command line, as well as being able to use them in a more interactive mode with tab completing etc.

The standalone functions of verilogtree should still be useable via the command line, but now including the specific name of the command to be run:
verilogtree tree [args]
or
verilogtree trace [args]
etc...

Alteratively, running verilogtree as a standalone command verilogtree, will result in an interactive session being started, where you can load or reload a design, and when entering an instance's hierarchy, you can TAB complete to get the module names at that level:

$> verilogtree
[vt] > tree
top
├── mod0  
│   ├── mod3  
│   │   └── mod4  
│   └── mod1  
│       └── mod3  
│           └── mod4
[vt] > trace top/mod0 (user hits TAB)
mod3  mod1
[vt] > 

You get the idea, this would make for a really powerful tool, and would also be extendable for future tools that pop into my head,

Metadata

Metadata

Assignees

No one assigned

    Labels

    code refactoringEither major or minor refactoring of the codebaseenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions