systemc-compiler
systemc-compiler copied to clipboard
support for fixed point datatypes sc_fixed sc_ufixed
Can you outline what would be needed to add support for sc_fixed and sc_ufixed data types?
I'd be happy to attempt to contribute, but I must admit I am not that familiar with llvm..
Hello. You are welcome to contribute into the project. That requires strong C++ experience, lots of attentions to low level details and enough time. That is specially true for arithmetic support, as soon as required to ensure equivalent results between SystemC and generated SV simulations. Please consider >90% of time is testing.
Can I ask you what is your reasons to participate? Are you HW designer who needs fixed/ufixed types?
We are planning to support floating points in Q1`23, and could collaborate in fixed point implementation. As start point you can check ScGenerateExpr::parseBinaryStmt, ScVerilogWriter::putBinary, ScVerilogWriter::getVarDeclVerilog.
-Mikhail.
Hello. You are welcome to contribute into the project. That requires strong C++ experience, lots of attentions to low level details and enough time. That is specially true for arithmetic support, as soon as required to ensure equivalent results between SystemC and generated SV simulations. Please consider >90% of time is testing.
Can I ask you what is your reasons to participate? Are you HW designer who needs fixed/ufixed types?
We are planning to support floating points in Q1`23, and could collaborate in fixed point implementation. As start point you can check ScGenerateExpr::parseBinaryStmt, ScVerilogWriter::putBinary, ScVerilogWriter::getVarDeclVerilog.
-Mikhail.
Any solution to fixed point data type? I currently use scaling to work around the issue.
No progress in this topic yet. There are some plans to implement it, but priority is low.
completed, really?!
Not completed. No plans to work on that near year, sorry for that.