Skip to content

Convert to using PDM#833

Draft
robtaylor wants to merge 4 commits intokuznia-rdzeni:masterfrom
robtaylor:pdm-me-up
Draft

Convert to using PDM#833
robtaylor wants to merge 4 commits intokuznia-rdzeni:masterfrom
robtaylor:pdm-me-up

Conversation

@robtaylor
Copy link
Copy Markdown

Creates a pyproject incorporating :

  • requirements.txt
  • requirements-dev.txt
  • pyrightconfig.json
  • pytest.ini

and commits a lock file

@robtaylor
Copy link
Copy Markdown
Author

Hit a slight issue, as synthesizing gave the following error:

Warning: multiple conflicting drivers for top.\main_module.core.core.func_blocks_unifier.rs_block_0.rs.allocator.order [4]:
    port Q[0] of cell main_module.core.core.func_blocks_unifier.rs_block_0.rs.allocator.order_TRELLIS_FF_Q_3 (TRELLIS_FF)
    port Q[0] of cell main_module.core.core.func_blocks_unifier.rs_block_0.rs.allocator.order_TRELLIS_FF_Q_1 (TRELLIS_FF)
Warning: multiple conflicting drivers for top.\main_module.core.core.func_blocks_unifier.rs_block_0.rs.allocator.order [6]:
    port Q[0] of cell main_module.core.core.func_blocks_unifier.rs_block_0.rs.allocator.order_TRELLIS_FF_Q_7 (TRELLIS_FF)
    port Q[0] of cell main_module.core.core.func_blocks_unifier.rs_block_0.rs.allocator.order_TRELLIS_FF_Q_2 (TRELLIS_FF)
Preparing to run yowasp-nextpnr-ecp5. This might take a while...
ERROR: Net 'main_module.core.core.func_blocks_unifier.rs_block_0.func_unit_4.instr_valid_PFUMX_C0_Z_LUT4_Z_A_PFUMX_C0_Z[1]' is multiply driven by cell ports main_module.core.core.func_blocks_unifier.rs_block_0.rs.allocator.order_TRELLIS_FF_Q_1.Q and main_module.core.core.func_blocks_unifier.rs_block_0.rs.allocator.order_TRELLIS_FF_Q_3.Q
``

@tilk
Copy link
Copy Markdown
Member

tilk commented Jul 28, 2025

Hit a slight issue, as synthesizing gave the following error: (...)

I believe multiple driver error shouldn't happen with Amaranth, so this looks like an Amaranth/Yosys problem. You changed the Yosys version used, that's what probably triggered it.

@awariac
Copy link
Copy Markdown
Member

awariac commented Apr 15, 2026

thanks for your contribution, up-to-date pyproject development happens on #893 if interested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants