Skip to content

Module not routed because Yosys proc is missing #3170

Answered by pars97
pars97 asked this question in Q&A
Discussion options

You must be logged in to vote

While looking at the yosys documentation and how the 'proc' was coded I tried a couple of things and here what worked for me.

In the file synth_preamble.tcl, line 58-67 i added the "yosys proc" line:

if {[env_var_exists_and_non_empty PRESERVE_CELLS]} {
  # Expand hierarchy since verilog was read in with -defer
  hierarchy -check -top $::env(DESIGN_NAME)
  yosys proc
  foreach cell $::env(PRESERVE_CELLS) {
    select -module $cell
    setattr -mod -set keep_hierarchy 1
    select -clear
  }
}

I also had the

export PRESERVE_CELLS = "_my forgotten cells_"

in my config.mk file for my design.
Since then, my design doubled in size and all my IN/OUT are connected inside the circuit.

Replies: 1 comment 3 replies

Comment options

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

Answer selected by pars97
@povik
Comment options

povik May 19, 2025
Collaborator

@pars97
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
3 participants