Empty the file
data/inx.txt
. Make sure to backup the file before emptying it.Repeat the steps 1-6, and observe the deadlock path now.
In this case, due to the insufficient input data to fill the input buffer, the kernel went into the hang state waiting for the input data.
Make sure you revert the changes for other exercises.
IMPORTANT: The absence of deadlock for a x86 simulation does not mean absence of deadlock in a SystemC simulation. X86 simulation does not model timing and resource constraints, and thus, there are fewer causes of deadlock. On the other hand, if x86 simulation deadlocks, SystemC simulation deadlocks as well, so it is beneficial to fix the deadlock in x86 simulation before proceeding with SystemC simulation.