add setmodule function to SimdScope