Update gen_generic_lpu.py to check spike attrib of src and target neurons when selecting synapse model.