Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Does anyone know where "and_reduce()" is included?

Status
Not open for further replies.

gongdori

Full Member level 2
Joined
Mar 7, 2012
Messages
133
Helped
21
Reputation
42
Reaction score
19
Trophy points
1,298
Activity points
2,035
Can anyone tell me which library I need to include to use "and_reduce" function?
Also, is the library IEEE standard ?
Thanks in advance!

Gongdori
 

and_reduce (and the other logic reduction operators) are in the std_logic_misc library. It is NOT an IEEE standard, but everyone has it (in the same way std_logic_arith/signed/unsigned are non standard, but everyone can use them).

In VHDL 2008, you are allowed to do things like this, and they are part of the IEEE standard:

b <= and a;
d <= nor c;

...etc
where a and c are std_logic_vectors.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top