New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support 8 bit and 16 bit floating point formats #1610
Comments
@juancolonna: I converted your discussion topic to a feature request. PRs in this direction are welcome. |
Dear @maehne , thanks for your reply. I don't know how to do a PR. I tried to look the source code of Logisim and I feel a little loss. Is there any documentation to guide me? At,. |
@juancolonna: GitHub provides good documentation to get you started on how to use Regarding the Logisim-evolution source code itself, there's the chapter "JAR libraries" in the "Guide to Being a Logisim User", which you can access from
In a first step, I would probably start modifying one of the floating point components (e.g., |
IEEE 754-2019 defines 64, 32 and 16 bit Floating-Point Arithmetic. (the bigger ones are of no interest to LSe.) |
You do not have 8 bit floats. |
Carl Burch's chapter "Floating-point representation" from his book "Computing Systems Organization" might be a base for implementing/documenting this feature. |
@R3dst0ne you are right, 8-bit float is not an IEEE standard, however there is a convection followed by some authors and also described in wikepedia. Having support for 8-bit float would be a very nice feature as there are many 8-bit computer projects on the Internet using Logisim. Perhaps, with proper documentation, this support could be added to Logisim. If you guys think implementing this feature would be a problem, perhaps we could consider implementing 16-bit float. What do you think? |
Discussed in #1608
Originally posted by juancolonna December 14, 2022
Dear developers, first I'd like to thank you for the amazing work you are doing developing Logisim. Second, I would like to request a new feature if possible.
I use Logisim as a teaching tool with my students. I usually explain initial concepts using 8-bit logic, in a simple way. I often using minifloat (8-bit float) to explain floating number concepts (scale, overflow, etc.). Floating arithmetic blocks don't have the 8-bit option, eg: addition, multiplication, subtraction, etc., and for me it would be very useful. Would it be possible to implement 8-bit float operations? I would be very grateful.
At,
The text was updated successfully, but these errors were encountered: