Compiled current source