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.

Anyone knows how to fit 2 bit 2-to-1 mux into one LUT in virtex-5?

Status
Not open for further replies.

rex_nyu

Newbie level 3
Joined
Sep 13, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
Hi,

I am trying to fit a 2bit 2-to-1 mux into one LUT. It seems that LUT5_D has 5 inputs and 2 outputs. Can I program the LUT as what I want?

I have used LUT3, LUT4 before. From the virtex-5 library guide, it seems that to instantiate LUT5_D I need to program proper init value, but there is only one init value to program, so only one of the output will be actually use? or both of the output will give the same value any time?

LUT5_D #(
.INIT(32'h55550f0f),
) LUT5_D_inst
(.O(O), // General LUT output (1-bit)
.LO(LO), // Local LUT output (1-bit)
.I0(I0), // LUT input (1-bit)
.I1(I1), // LUT input (1-bit)
.I2(I2), // LUT input (1-bit)
.I3(I3), // LUT input (1-bit)
.I4(SEL));


Thank you!
 

Read the library guide thoroughly (I hope it has no typos). Some LUT types have independent operation of both outputs according to the tables, e.g. LUT6_2.
 
I figure it out. Thank you for the suggestion!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top