You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the internal structure of firrtl-interpreter and what is the model? How to change the signal inside the model(poke or peek)? Can someone explain it? See the source code or do not understand.
The text was updated successfully, but these errors were encountered:
Is there a particular application of this question it would help me to narrow the answer.
In general the interpreter does just that parses an firrtl abstract syntax tree. It executes
by interpreting the tree on each pass keeping track of the values associated with each wire.
Typically peeks and pokes operate only on top level io's due to constraints in the chisel-testers
framework. It is however possible to create a FirrtlTerp instance directly with firrtl input and have
peek access to any element of the circuit. The FirrtlRepl allows an interactive command line way of doing this also.
Firrtl is the older and less developed Scala based circuit simulator. Treadle is the newer and faster
one. It has similar features, and a few more capabilities
Is there a particular application of this question it would help me to narrow the answer.
In general the interpreter does just that parses an firrtl abstract syntax tree. It executes
by interpreting the tree on each pass keeping track of the values associated with each wire.
Typically peeks and pokes operate only on top level io's due to constraints in the chisel-testers
framework. It is however possible to create a FirrtlTerp instance directly with firrtl input and have
peek access to any element of the circuit. The FirrtlRepl allows an interactive command line way of doing this also.
Firrtl is the older and less developed Scala based circuit simulator. Treadle is the newer and faster
one. It has similar features, and a few more capabilities
Thank you for your answer. I just understood firrtl-interpreter a while ago.
What is the internal structure of firrtl-interpreter and what is the model? How to change the signal inside the model(poke or peek)? Can someone explain it? See the source code or do not understand.
The text was updated successfully, but these errors were encountered: