Why is this an issue?

By default, only ieee.std_logic_1164 and work libraries/packages are allowed.

This list can be updated through the libraries parameter.

How to fix it

Code examples

Noncompliant code example

With default value of allowed libraries: ieee.std_logic_1164,work
use ieee.std_logic_1164.all;
use work.all;
use std.textio.all; -- Noncompliant

Compliant solution

With default value of allowed libraries: ieee.std_logic_1164,work
use ieee.std_logic_1164.all;
use work.all;
With custom value of allowed libraries: ieee,work,std
use ieee.all;
use work.all;
use std.textio.all;

Resources

Related rules