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

Illegal use of tristate value. #352

Open
alsrbok opened this issue Apr 26, 2024 · 0 comments
Open

Illegal use of tristate value. #352

alsrbok opened this issue Apr 26, 2024 · 0 comments

Comments

@alsrbok
Copy link

alsrbok commented Apr 26, 2024

While I use Synopsys DC to synthesize the system verilog code of Gemmini accelerator, Illegal use of tristate value error happen on CSRFile.sv file.
This is due to following line
wire [15:0] read_mip = {1'bz, 1'bz, io_rocc_interrupt, 1'bz, io_interrupts_meip, 1'bz, reg_mip_seip | io_interrupts_seip, 1'bz, io_interrupts_mtip, 1'bz, reg_mip_stip, 1'bz, io_interrupts_msip, 1'bz, reg_mip_ssip, 1'bz} & 16'h2AAA; // @[CSR.scala:407:10, :473:20, :559:24, :565:57, :569:{22,29}]

What should I do for this line?
As CSRFile.sv is submodule of Rocket.sv, I should handle this error correctly.
Can I chagne 1'bz to 1'b0 or 1'b1?

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