VFGEN is a program that takes a specification of a vector field (in other words, a system of differential equations) and generates source code for a wide variety of ODE solvers and other numerical tools. It includes a command for generating C code to be used with the CVODE solver.