move number conversion stuff into its own module to avoid cyclic dependency stuff
make chip return a chdl-symbol, and chip-inst uses it properly now