1. A dynamic weight generator comprising: a first memory for storing a PN code; a second memory for storing a plurality of weights, said second memory being coupled to said first memory whereby data output by said first memory is used to address data stored in said second memory; and a correlator for multiplying an input signal by data output by said second memory.