No, there is not really any way you can convert C (or any other software code) to an HDL like Verilog, VHDL, etc. There are certainly products which do some partial conversion, yet their success is questionable.. Also, it is not quite logical to convert a software code into hardware directly, since there will be many changes in terms of implementation. So, basically, what you should do is to use the algorithm in your C code to write the Verilog or VHDL yourself. Hardware development is not easy as just converting some C code to an HDL, it contains many other considerations and implementation-specific issues which you should consider and deal with.