-
Notifications
You must be signed in to change notification settings - Fork 305
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
[Moore][Arc][LLHD] Moore to LLVM lowering issues #8012
Comments
Thanks for checking out SystemVerilog simulation with Arcilator! This lowering path is still in early development and the issue you are encountering is because of using I have a branch with some fixes and additional features (including that one) that should be enough to fully lower your example, if you want to give it a try. I hope to upstream that sometime soon. On the branch, you can simply run arcilator directly after Thanks for opening this issue, it's very useful to see what issues users run into 😄 |
Hi! Much thanks! I tested your branch and I managed to translate all my examples related to triggers and sequential logic. Hope it would be merged in main branch soon! But combinational logic does not translate so well. Combinational examples with continuous assignments only are lowered correctly: For example: module combo ( input a, b, c, d, e, output z);
assign z = ((a & b) | (c ^ d) & ~e);
endmodule But module combo ( input a, b, c, d, e, output reg z);
always @ (*) begin
z = ((a & b) | (c ^ d) & ~e);
end
endmodule |
Thanks for pointing this out. I created an issue tracking this: #8013 In the meantime, you can use |
Thanks a lot! Can I leave this issue open for future lowering issues reports or should I to close it? |
Hi all!
I am trying to simulate a SystemVerilog code (listed below) using
arcilator
:with such pipeline:
circt-verilog dff.sv | arcilator
arcilator
fails with error: 'llhd.process' op has regions; not supported by ConvertToArcsThen I try to use a different pipeline with
circt-opt
:acilator
fails with another error: failed to legalize operation 'seq.clock_inv'What is necessary to be able to run
arcilator
on such simpleDFF
example?The text was updated successfully, but these errors were encountered: