create method for convert verilog to C