pulse current sourse

Hello to all.Sorry if my English is poor. I wanna make a current controller like below figure .Could somebody help me how can I do that,please? Thank you. |500x447

I wanna make a current controller like below figure

You can't it is impossible to have that current flow with that circuit. Inductors can not have their current suddenly change, you need time for the magnetic field to grow or shrink. An inductor basically slows down any change in current.

Now what do you actually want to do?