Hariharan Bhagavatheeswara Posted August 20, 2019 Report Share Posted August 20, 2019 Is there support for the bfloat16 data type in SystemC/TLM? If not, is there a way that I can use existing data type as bfloat16? Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted August 21, 2019 Report Share Posted August 21, 2019 There is no builtin support for custom-sized floating point types in SystemC. An open-source C++ bfloat16 implementation can be found here: http://half.sourceforge.net. I would expect that this works more or less out of the box in SystemC (maybe you need to implement a custom sc_trace overload). Hope that helps, Philipp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.