LUT Questions

OP (Company: Student) #4986964
I'm a student and i'm preaparing an exam and i have some question about 
LUTs

1- How many memory case ( 1 bit) we have in a LUT with 12 inputs

2- How many of LUT-12 we must have for memorise a 64 bits variable

3- How many LUTs-12 we must have for memorise a 8000 variable of 64 bits

Thanks a lot
Guest #4987303
LUT means Look Up Table.

If you have 12 bit input, how many rows do you think can you address 
with these 12 bit?

If you say, that there is only one output, how much different bits can 
you "store" with one LUT.

Ok, this is more or less a rephrase of your questions, but you should 
really think about your exams yourself and not ask for the solution.
OP (Company: Student) #4987328
MagIO2 wrote:
> LUT means Look Up Table.
>
> If you have 12 bit input, how many rows do you think can you address
> with these 12 bit?
>
> If you say, that there is only one output, how much different bits can
> you "store" with one LUT.
>
> Ok, this is more or less a rephrase of your questions, but you should
> really think about your exams yourself and not ask for the solution.


i have my exam on september, and i don't have documentation ... so i 
take previous exams and exemples and i ask question for understund how 
it works

Thanks
Guest #4987383
I think he means a 12 input LUT. Which can be thought oft as a RAM with 
1 Bit per adress. How many Adresses can you build with n inputs?
Moderator (Company: Titel) #4987615
-gb- wrote:
> I think he means a 12 input LUT.
Then its easy...

> 1- How many memory case ( 1 bit) we have in a LUT with 12 inputs
2^12

> 2- How many of LUT-12 we must have for memorise a 64 bits variable
64

> 3- How many LUTs-12 we must have for memorise a 8000 variable of 64 bits
2
#4987637
Edit:

> 2- How many of LUT-12 we must have for memorise a 64 bits variable
64

This i don't understand. I think of an 12-input lut as a RAM with 12bit 
adress. So it can store 2^12 Bits.

OK with one fixed 12bit adress you always adress the same bit in this 
"RAM". Is this how it is done? 64 LUTs where every LUT stores just one 
bit at a fixed adress? Why not store all 64Bits in the 2^12 Bits RAM? 
Because it can only output one Bit at a time?

Edit:
Now i understand. Had a look at SLICEL and SLICEM and both have a single 
bit Output so indeed you have to use more LUTs in parallel.
Moderator (Company: Titel) #4987683
You got it.

A 64 bit variable is 64 bits wide and to store 64 bits in parallel 
you need 64 LUTs. Otherwise you must access each bit one after the 
other.

In fact with 64 of those 12 input LUTs you could store 4096 of those 64 
bit variables. But that was not the question... ;-)
OP (Company: Student) #4988106
Lothar M. wrote:
> -gb- wrote:
>> I think he means a 12 input LUT.
> Then its easy...
>
>> 1- How many memory case ( 1 bit) we have in a LUT with 12 inputs
> 2^12
>
>> 2- How many of LUT-12 we must have for memorise a 64 bits variable
> 64
>
>> 3- How many LUTs-12 we must have for memorise a 8000 variable of 64 bits
> 2

For the 3 question why not 64*2 Lut=128, beacause with 64 of those 12 
input LUTs you could store 4096 of those 64  bit variables

Reply

A question of your own? This thread is over 9 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.