The "normal" SFP modules just have a straightforward optical to
electrical and electrical to optical conversion. What you get on the
optic fibre is what you get on the SFI (the electrical side). For
100Base FX this is 4B5B encoded as you said, and for 1000Base-X this will
be 8B10B encoded.
The ones that have an SGMII also contain an Ethernet PHY chip to do the
conversion.
SGMII runs its physical layer at 1.25Gb/s, 8B10B encoded at all times,
regardless of the negotiated data rate (100Mb/s in this case). As you
said, it will repeat the same symbol once (for 1Gb/s); ten times (for
100Mb/s) or one hundred times (for 10Mb/s)
Now, if you have an SFP socket backed by a PHY that only understands
SGMII, it will only understand 1.25Gb/s, 8B10B.
If you plug your normal SFP into this it will only work if the link
partner produces 1000BaseX ('cause that is encoded the same as SGMII).
It will not work if the link partner produces 100Base-something, as the
SFI signal will be 4B5B at 125Mb/s, rather than 8B10B at 1.25Gb/s.
Whilst I have seen SFP modules that produce SGMII (in particular the
"Copper" "RJ45" SFPs work this way), I have never seen an SFP socket that
only accepted SGMII. I'm curious, which equipment is this? Can it be
configured to accept normal SFI rather than SGMII?
Regards,
Allan