Forum Discussion
FOudm
New Contributor
7 years agoModelSim error: unexpected internal error in Questa
Dear all, I'm trying to simulate the following piece of code: module peak_detect #(
parameter BATCH_SIZE,
parameter DATA_WIDTH
)(
input wire clk,
input wire reset,
input wire ...
FOudm
New Contributor
7 years agoThanks for both answers.
It had indeed something to do with the reference passing in combination with the non-blocking assignments. It's weird that the Quartus synthesizer no problems found, but Modelsim did.
I've solved the problem by completely eliminating both tasks by integrating them into the always-block.