add spim link
start to generate code