-
Notifications
You must be signed in to change notification settings - Fork 171
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
SMT target and SystemVerilog target? #511
Comments
It seems that
|
To generate models in SMT-LIB2 format using Sail, you'll need to enable detailed SMT output by modifying the source code. Here’s how to do it step-by-step:
|
Was that answer generated (i.e. hallucinated?) by a LLM? Because it's completely wrong. Currently the Sail->SMT backend generated SMT files for boolean functions marked with either the |
I think that Makefile target is out-of-date now, afaik it was for a experimental memory-model tool we had that subsequently got replaced by https://github.com/rems-project/Isla. The problem was generating a SMT definition for the entire behaviour of the ISA was far too slow and difficult for the SMT solver to handle, so we switched to a symbolic execution approach that therefore only generates SMT for the paths it needs to execute for a given test. |
Hi there, thank you for your response, and apologies for my tone. Initially, I was trying to find something related to SMT-LIB in the I have read related papers about Isla, and it seems like a good solution for my needs. I'll take a closer look at the implementation. Thanks again. |
In the Makefile, I see there is the
riscv.smt_model
target, I was hoping it can generate models in SMT-LIB2 format (is that what it means to be?), but it seems that does not work for me.The error message is:
Can anyone help explain how to fix this?
Meanwhile, I was wondering, how to generate the reference ISA model in System Verilog?
Thanks!
The text was updated successfully, but these errors were encountered: