Skip to content

Old architectures are not removed upon re-analysis #710

Open
@Forty-Bot

Description

@Forty-Bot

Create a file like

entity test is end;
architecture test of test is begin end;

Analyze it,

nvc -a test.vhd

then rename the architecture to test2. Reanalyze and elaborate the file

nvc -a test.vhd -e test

This causes the following warning:

Warning: design unit WORK.TEST-TEST is older than its source file test.vhd and should be reanalysed

However, we just reanalyzed test.vhd! I believe the correct fix is to clean up old architectures when they are removed from their source file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions