Design of a VLSI Decoder for Partially Structured LDPC Codes