Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIRRTL] Treat blackboxes in layers as "testbench" #6881

Merged
merged 2 commits into from
Mar 29, 2024

Commits on Mar 29, 2024

  1. [FIRRTL] Treat blackboxes in layers as "testbench"

    When determining which directory to place a blackbox into, make two
    changes to get this working correctly with layers:
    
      1. Never change a directory if one is already specified.
      2. Treat any bound instance as not under the DUT.
    
    Taken together, this preserves both the original behavior of grand central
    blackbox extraction and causes blackboxes instantiated under layers to be
    placed in the testbench directory.
    
    Fixes #6880.
    
    Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
    seldridge committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    b64db7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b11d941 View commit details
    Browse the repository at this point in the history