I have seen lots of peoples are looking for this.
Following is what I have created for Modelsim 10.4 and tested
its bit slow but works!