Before writing this question I read several similar threads, but didn't found the answer I am looking for. When we need a voltage level shifter the first thing that come to the mind is a voltage divider. But in certain cases in the industry, a MOSFET inverter is freferred when it comes to digital voltages involving input to a FPGA or Microcontroller.
For example, if I have 5V output from a device to represent Logical 1 where the PMODs of FPGA can read a maximum 3.3V for logical 1, I need a level shifter for sure. Whenver I tried to use a voltage divider circuit as in B of the below image, I was recomended to use A in the image. Even though A ouputs inverted logics and needs manupulation in the software to invert values read, it is always preferred. I never got an answer for that but it could be related to pull up resistor behaviour of the LVCMOS.
So my question is why A is preferred over B when it comes to digital inputs to FPGA and Microcontrollers?