Advertisement

Compression in Spin

  • Sridhar Anandakrishnan
Chapter
  • 575 Downloads

Abstract

In this chapter, we will implement the compressor and decompressor purely in Spin using Test-Driven Development (TDD) methods. Rather than jumping straight into a PASM implementation, starting with a Spin version lets us ease into the problem and also debug more effectively. Once we have a working algorithm in Spin, we will translate it to PASM. In addition, a Spin version can act as a simulator to produce compressed data streams that the PASM decompressor will have to successfully operate on, and vice versa.

Copyright information

© Sridhar Anandakrishnan 2018

Authors and Affiliations

  • Sridhar Anandakrishnan
    • 1
  1. 1.Department of GeosciencesUniversity ParkPennsylvaniaUSA

Personalised recommendations