Skip to content

Parsing verilog design for circuit path #4999

Answered by KrystalDelusion
jiahzhang asked this question in Q&A
Discussion options

You must be logged in to vote

You can use %ci* and %co* to get the input and output cones respectively, and find the intersection with %i. e.g. you have some flop top/dff1 and another top/dff2; select top/dff1 %co* top/dff2 %ci* %i will select everything in the output cone of top/dff1 and everything in the input cone of top/dff2, then take the intersection giving just the elements in between. If you want them in topological order you should be able to call torder with that selection statement, i.e. torder top/dff1 %co* top/dff2 %ci* %i.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jiahzhang
Comment options

@KrystalDelusion
Comment options

@KrystalDelusion
Comment options

Answer selected by jiahzhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants