How many outputs does a LUTx have? #3702
-
I get that LUT1 .. LUT6 (more?) in the yosys stats output means a table with respectively 1 to 6 inputs (columns), but how many outputs (columns) does it have? 1? 2? Where can I read in the doc to find out? This is with synth_xilinx and default family target. The background is that I am trying to figure how yosys' LC estimate is related numerically to commercial tools' estimates. So far I only have a (useless) ALM number from quartus for intel. But I know that is 8-input 4-output. So if you tell me how many outputs you are reckoning for LUT1 ... LUT6 I can reckon mathematical min and max bounds for the possible ratio. If LUT1 ... LUT6 have 1 output then 1 ALM is worth at least 4 LUTs of any kind, and up to 4x4=16 LUT6s, 4x8=32 LUT5s, etc. If LUT1 ... LUT6 have 2 outputs then 1 ALM is worth at least 2 LUTs of any kind and up to 2x4=8 LUT6s, 2x8=16 LUT5s, etc, and so on. So how many is it? Yes, I know people generally run the software and get a ratio in practice! Thanks in advance for the info, anyone who knows! PTB |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
LUTs in Yosys are 1-output. |
Beta Was this translation helpful? Give feedback.
-
If it helps, the code for how yosys converts the number of instances of LUT1-LUT6 into estimated LCs is here, and it is fairly naive: Line 152 in 101d19b |
Beta Was this translation helpful? Give feedback.
LUTs in Yosys are 1-output.