-
Notifications
You must be signed in to change notification settings - Fork 90
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
Questions about TinyRAM #15
Comments
About labels, the current implementation is rather low-level and the programmer needs to take care of label handling. About the output of the ANSWER instruction, it is implemented in ALU_ANSWER_Gadget::generateWitness() of tinyram/stark-tinyram/src/TinyRAMtoBair/RamToContraintSystem/ALU.cpp (the current code has verbose printout at the end of this function but it's commented-out, you can comment-in this code). |
@iddo333 Thanks for your reply. I saw the About the ANSWER, it didn't compile at first since What about the input tapes with the Finally, are all the hardcoded inputs in the asm programs public? For example, in a Thanks! |
Hello,
I have some questions about TinyRAM. Does TinyRAM support labels and comments as claimed in the documentation?
Also, how can I see the result of the
ANSWER
instruction?How I can give input? It seems that there are two tapes, for primary and auxiliary input respectively, and that there is a
read
instruction that reads from the tapes, however, I could not find any example on how to use it.Finally,
UMOD
seems to be broken. I have filled some registers with values and when I callUMOD
I getERROR: Fatal error encoutered. Run debug build for more information and stack trace.
Example usage:Thanks in advance,
Dimitris Mouris
The text was updated successfully, but these errors were encountered: