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

modelsim simulation compile error #4

Open
chinafpga opened this issue Jan 4, 2020 · 1 comment
Open

modelsim simulation compile error #4

chinafpga opened this issue Jan 4, 2020 · 1 comment

Comments

@chinafpga
Copy link

** Error: (vsim-3978) bch_math.v(347): Cannot mix packed and unpacked types in this operation.

Time: 0 ns Iteration: 0 Instance: /tb_sim/u_sim/TMEC/u_error_one/u_chien_reg/genblk2/u_mult File: bch_math.v

@chinafpga
Copy link
Author

I have changed this way:
gen_matrix[i*M+:M] = i ? `BCH_MUL1(M, gen_matrix[(i-1)M+:M]) : STANDARD_IN1[iM+:M];

It like compile successfully.

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