Author Topic: What functions can be implemented in a single CLB block of XC4000?  (Read 242 times)

0 Members and 1 Guest are viewing this topic.

Offline r20de20Topic starter

  • Newbie
  • Posts: 1
  • Country: pl
Hi there!

School stuff. I try to learn FPGA and know few things, but it seems I don't quite understand them.

There is this task:
"Can the following logic functions be implemented in a single CLB block of an XC4000 device?"

While I know the answers:
These are possible:
any 5-variable function
any 4-variable function + a specified 5-variable function
a specified 9-variable function
any 4-variable function + a specified 6-variable function
2x any 4-variable function + any 3-variable function

These are not:
3x any 4-variable function
4x any 2-variable function
a specified 10-variable function
any 6-variable function

... I'm not sure of some of them. As per my knowledge, one CLB block of XC4000 consists of 3 LUTs, a mutliplexer and other parts like flip flops, carry. Each LUT has 4 inputs and 1 output.
So it is pretty obvious function with 6 variables wouldn't work, because it has 2^6 = 64 different cases, while LUTs support only 3 * 2^4 = 48 cases. But why is "3x any 4-variable function" impossible to implement? For me it is exactly matching the size of inputs we have available, so it is clear I lack knowledge in this topic. I've tried to research it online and used GPT, but I haven't found any information related to this question.

I kindly ask you for explanation. Thank you in advance for any tips/rules, which would help me in the future.
 

Offline CaptDon

  • Super Contributor
  • ***
  • Posts: 2011
  • Country: is
Re: What functions can be implemented in a single CLB block of XC4000?
« Reply #1 on: June 24, 2024, 07:20:12 pm »
Better to move this to the FPGA forum.
Collector and repairer of vintage and not so vintage electronic gadgets and test equipment. What's the difference between a pizza and a musician? A pizza can feed a family of four!! Classically trained guitarist. Sound engineer.
 

Offline up8051

  • Frequent Contributor
  • **
  • Posts: 305
  • Country: pl
Re: What functions can be implemented in a single CLB block of XC4000?
« Reply #2 on: June 24, 2024, 10:14:39 pm »
http://xilinx.pe.kr/_xilinx/html/ref/fpga4000.html

Two LUTs are 4 inputs
One LUT is 3 inputs
 
The following users thanked this post: r20de20


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf