Refer to the tutorial Installing Spade, Spade projects and Swim, and Simulation and Testing chapters.