Skip to content

Yosys $paramod issue #5090

Closed Answered by KrystalDelusion
qwera-web asked this question in Q&A
May 6, 2025 · 6 comments · 12 replies
Discussion options

You must be logged in to vote

The $paramod module shouldn't be used if you've called uniquify and calling hierarchy again will remove it:

yosys> hierarchy

4. Executing HIERARCHY pass (managing design hierarchy).
Attribute `top' found on module `fifo'. Setting top module to fifo.

4.1. Analyzing design hierarchy..
Top module:  \fifo
Used module:     \fifo.fifo_reader
Used module:     \fifo.fifo_writer

4.2. Analyzing design hierarchy..
Top module:  \fifo
Used module:     \fifo.fifo_reader
Used module:     \fifo.fifo_writer
Removing unused module `$paramod\addr_gen\MAX_DATA=s32'00000000000000000000000100000000'.
Removed 1 unused modules.

yosys> ls

3 modules:
  fifo
  fifo.fifo_reader
  fifo.fifo_writer

Replies: 6 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@qwera-web
Comment options

@KrystalDelusion
Comment options

@qwera-web
Comment options

@KrystalDelusion
Comment options

@qwera-web
Comment options

Comment options

You must be logged in to vote
1 reply
@KrystalDelusion
Comment options

Answer selected by qwera-web
Comment options

You must be logged in to vote
1 reply
@KrystalDelusion
Comment options

Comment options

You must be logged in to vote
4 replies
@KrystalDelusion
Comment options

@qwera-web
Comment options

@KrystalDelusion
Comment options

@qwera-web
Comment options

Comment options

You must be logged in to vote
1 reply
@KrystalDelusion
Comment options

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