lowRISC / lowRISC/ibex

Yosys syn flow: Use fusesoc

Open
#1,006 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component:Tool-and-Build Type:Enhancement
Dominant language
SystemVerilog
Stars
2.1k
Forks
810
Avg merge
5d 23h
Merged PRs (30d)
9

Description

The Yosys flow in syn currently ingests source files from the rtl directory and other places, feeds them through sv2v, and then passes them through yosys.

Since https://github.com/lowRISC/ibex/pull/994 we have a nicer way of calling sv2v through fusesoc; and a yosys-without-sv2v flow might not be too far away either.

Depending on how things evolve, we have two options to use fusesoc for the syn flow, and make use of its ability to generate target-dependent primitives, like the clock gating ones.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing Yosys flow under syn, how it gathers sources from the rtl directory, and lowRISC/ibex#994 for the FuseSoC-based sv2v approach. Compare the two FuseSoC integration options described in this issue and determine how target-dependent primitives would be generated; done means the synthesis flow uses FuseSoC with its expected outputs validated.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.