Demo entry 6636164

ShiftRespDataType

   

Submitted by anonymous on Aug 23, 2017 at 10:42
Language: verilog. Code size: 573 Bytes.

function RespDataType CreateRespData (RespHeaderType  Header,
                                         RespPayloadType Payload);
      RespDataType Result;
      Result.Header  = Header;
      Result.Payload = Payload;
      Result.Parity  = MakeParityBits(.data({Header, Payload}),
                                      .size(RespHeaderW+RespPayloadW),
                                      .falsify(false),
                                      .n(RespParBits),
                                      .parity(DefaultParity));
      return Result;
   endfunction

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).