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.

Avoiding cascaded structure for multiple inputs

Status
Not open for further replies.

twb8t5

Newbie level 4
Joined
Mar 17, 2013
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,326
I would like to OR more than two signals.
I read that writing:
out <= in1 OR in2 OR in3 OR in4 OR in5;
or
FOR i IN range LOOP
out := out OR in(i);
END LOOP;
might create a cascaded structure like:
(.|.)|.)|.) instead of (.|.)|(.|.) or better (.|.|.|.)
How do I avoid this or can it not happen?
For an FPGA with LUT4 the realization might ideally be (.|.|.|.)|(.|.|.|.)|(.|.|.|.)|(.|.|.|.)
But I wish to write code that is device independent.

Similar Thread: https://www.edaboard.com/threads/238870/
Index: multi input gate
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top