uM-FPU v3.1 Fpu Object definition?
Just starting playing with a new micromega uM-FPU v3.1. Using their latest stable release of the FPU IDE (1.3 I think) you can set the target to be a Javelin and it generates Javelin code that you just copy and paste into the Javelin IDE - simple enough. However the generated code uses and "Fpu" object that is never defined. I'm assuming that if I simply copy and paste this into JIDE it won't compile. It seems to be that there should be a library or class file that defines the "Fpu" class and that I should also have to instantiate one and assign pin #'s for the communications. I've search the documentation from micromega with no luck. Any help is greatly appreciated.
Comments
//
Generated Code
// F1 = F2 + F3
Fpu.startWrite();
Fpu.write(Fpu.SELECTA, 1, Fpu.FSET, 2);
Fpu.write(Fpu.FADD, 3);
regards peter
info@micromegacorp.com
to findout if a v3.1 update is in the make.
Ask if the v2 FPU object can be used with v3.1
(for the v2 features anyway)
Or create your own·using the v3.1 opcodes
http://www.micromegacorp.com/downloads/software/uMFPU-V3-opcodes.zip
regards peter
·
I'll create some more examples next week and update the Javelin support page on the Micromega website located at:
http://www.micromegacorp.com/javelin.html
Regards,
Cam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cam Thompson
Micromega Corporation
One thing, the text at the start of Int32.java is identical to the text of Float32.java
(both describing the class: * This class provides support for 32-bit floating point numbers)
I think the text for Int32.java should be different as Int32.java supports 32bit integers.
regards peter
Thanks for picking that up (the joys of copy-and-paste to start a new file!) I'll fix the comments when I do additional postings next week.
Regards,
Cam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cam Thompson
Micromega Corporation
http://www.micromegacorp.com/javelin.html
Regards,
Cam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cam Thompson
Micromega Corporation