You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jiahanxie353 has proposed adding floating-point constants to the CIRCT frontend in llvm/circt#7086. I think this is particularly interesting because we'd have to figure out how to represent these constants in Calyx. Verilog itself (AFAIK) does not support IEEE-754 constants and so we'd have to generate the right bit-patterns.
One possible approach is adding this capability to calyx-frontend but the IR only ever sees bit-patterns for the numbers. In this case from_ast becomes responsible for transforming a floating-point constant string into the correct bit-pattern.
The text was updated successfully, but these errors were encountered:
@jiahanxie353 has proposed adding floating-point constants to the CIRCT frontend in llvm/circt#7086. I think this is particularly interesting because we'd have to figure out how to represent these constants in Calyx. Verilog itself (AFAIK) does not support IEEE-754 constants and so we'd have to generate the right bit-patterns.
One possible approach is adding this capability to
calyx-frontend
but the IR only ever sees bit-patterns for the numbers. In this casefrom_ast
becomes responsible for transforming a floating-point constant string into the correct bit-pattern.The text was updated successfully, but these errors were encountered: