-
Notifications
You must be signed in to change notification settings - Fork 55
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
regarding system verilog to verilog #280
Comments
What have you tried to this point? sv2v's README includes basic usage instructions. The output is intended to be Yosys-compatible. |
Hi, Does these verilog files works on Intel quartus? I'm getting some errors after I install the stack and then using the make command sundeepreddypambala@Sundeeps-MacBook-Air my-project % stack build : error: : error: Error: [S-6374] can you help me out? |
I don't have access to Quartus, so I can't say for sure. However, I would be interested in fixing issues that affect the portability of sv2v's output. I do know there are other users who use sv2v's output as the input to commercial tools.
Based on https://discourse.haskell.org/t/cabal-and-llvm-issue/3672/13, the version of the compiler sv2v was using (GHC 8.10.7) doesn't support compiling for Apple Silicon ( |
The dependency on llvm seems to have gone away. There are some failures in the test suite, I don't know if expected or not. |
With this latest version, sv2v compiles cva6(Ariane RISCV processor) correctly with one change: diff --git a/core/acc_dispatcher.sv b/core/acc_dispatcher.sv
`include "common_cells/registers.svh" the significance of this is that acc_req_t and acc_resp_t are type parameters and as such get assigned at elaboration time, perhaps sv2v is trying to find the fields before elaboration (just speculation) (when I say correctly I mean no error is produced before the output is generated, not that the output has been validated by me) |
Hello, Does sv2v tool converts system verilog files which includes another system verilog file? |
@sundeep2249 sv2v does support |
I pushed a pull request that demonstrates the problem with type parameters: |
Can you let me know on how to convert system verilog to verilog for yosys
The text was updated successfully, but these errors were encountered: