llvm / llvm/circt

[FIRRTL] extmodule's supporting enablelayer?

Open
#7,447 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

FIRRTL
Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

FIRRTL spec only covers this for modules, and use on extmodule's in untested and unverified.

The following parses and compiles fine:

FIRRTL version 4.0.0

circuit EL:
  extmodule X enablelayer A.B.C :
  public module EL :

Supporting this allows extmodule to describe a module with enablelayers such that it's instantiated appropriately.
Assuming we want this, spec should be updated and verifier added accordingly.

Contributor guide

No contributing guide indexed for this repository

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 with the FIRRTL specification and the parser/verifier paths exercised by the provided extmodule example. Determine the intended semantics for enablelayer on extmodule, then update the specification and add the corresponding verifier behavior; done means the example is handled according to the agreed rules rather than silently accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
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.