Skip to content
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

sv2v converter failed with AssertionError #25

Open
sakundu opened this issue Apr 25, 2023 · 0 comments
Open

sv2v converter failed with AssertionError #25

sakundu opened this issue Apr 25, 2023 · 0 comments

Comments

@sakundu
Copy link

sakundu commented Apr 25, 2023

Hi,

I am trying to run sv2v and got the following error:

bsg_generic_modules.py", line 56, in SEQGEN
    assert not ( has_async_enable and has_sync_enable and has_async_data )
AssertionError

Here is the snippet of the elab.v verilog that results in such error:

\**SEQGEN**  id_available_q_reg_7_ ( 
      .clear(1'b0), 
      .preset(1'b0), 
      .next_state(id_available_d[7]), 
      .clocked_on(clk_i), 
      .data_in(1'b1), 
      .enable(rst_i), 
      .Q(id_available_q[7]), 
      .synch_clear(1'b0), 
      .synch_preset(1'b0), 
      .synch_toggle(1'b0), 
      .synch_enable(1'b1) );

Is there any easy way to fix it at our end by tweaking the input System Verilog or could you please address this error?

I have attached the elab.v file so that you can reproduce the above error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant