ECE 4534 Model Train Control Spartan-3E/Microblaze Code