[source]

Entity arith_prefix_and

Nx[N - 1 downto 0]std_logic_vectorystd_logic_vector[N - 1 downto 0]

Block Diagram of arith_prefix_and

Prefix AND computation: y(i) <= '1' when x(i downto 0) = (i downto 0 => '1') else '0'; This implementation uses carry chains for wider implementations.

Generics

Name

Type

Default

Description

N

positive

Ports

Name

Type

Direction

Description

x

std_logic_vector

in

y

std_logic_vector

out