Skip to content

False errors reported in PSL statements #367

Open
@JakubFranek

Description

@JakubFranek

Hello,

I am using the vhdl-ls linter as integrated inside TerosHDL extension in VS Code.

I have a VHDL file, which I attach here: clock_enable_generator.txt (I had to change the extension to .txt because GitHub does not allow .vhd extensions).

The file had no vhdl-ls linter errors until I added these two statements:

  1. default clock is rising_edge(i_clk);
  2. pulse_clk_count : assert always {reg_counter = COUNTER_MAX - 1} | => {o_clk_ena = '1'} report "o_clk_ena pulse not activated when expected" severity failure;

Both of these two lines produce the following errors:

Image

I believe these are false errors as these PSL-like statements are valid in VHDL-2008 and the code runs fine by GHDL.

Are PSL-like statements not supported by vhdl-ls yet?

Please let me know if you need further information. Thank you for your assistance.

Kind regards
Jakub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions