Imported from previous forum
Hi,
Is it a requirement for a pmap to be padded with 0 value bits?
Suppose we have a group containing 3 fields which are always encoded. As I understand it the pmap ought to be “1111 0000”. Is it wrong for the pmap to be “1111 0100”? Should my parser fail in this case?
Thanks,
Christopher Helck
Hi Christopher,
Is it a requirement for a pmap to be padded with 0 value bits?
yes, it’s a requirement.
Is it wrong for the pmap to be “1111 0100”?
Yes, the example is wrong.
Should my parser fail in this case?
You don’t have to, but you are encouraged to report error R8.
(Pls see the spec section 10.5 for the pmap spec and section 4 for a description of error handling)
Why would you want to pad with anything other than 0?
(On a sidenote: If your fields are always encoded then you don’t need any pmap slots, or pmap for that matter.)
/Rolf
Hi,
Is it a requirement for a pmap to be padded with 0 value bits?
Suppose we have a group containing 3 fields which are always encoded. As
I understand it the pmap ought to be “1111 0000”. Is it wrong for the
pmap to be “1111 0100”? Should my parser fail in this case?Thanks, Christopher Helck