Appendix 12AEXAMPLE SOURCE CODE

The PhaseLockLoop directory on the companion Web site includes five Microsoft Visual Studio .NET projects, each comprising a simulation that demonstrates and provides a test vehicle for a different synchronization recovery model, as listed in Table 12A.1.

Table 12A.1 Projects in PhaseLockedLoops directory.

Image

12A.1 DigitalPLL

The header for DigitalPLL is shown in Listing 12A.1. The constructor is provided in Listing 12A.2, the Initialize method is provided in Listing 12A.3, and the Execute method is provided in Listing 12A.4.

Listing 12A.1 Header for DigitalPLL model.

Listing 12A.2 Constructor for DigitalPLL ...

Get Simulating Wireless Communication Systems: Practical Models In C++ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.