Can someone develop software serial library for hifive1?

I tried my best to write it, having taken arduino software serial library as reference.But couldn’t make it.
I am not able to use uart devices due to that and i could not complete my project.

Awaiting your positive answers!