The simulator's 'X' is similar to the 'X' value in Verilog or VHDL. It means the signal's state is unknown.
Follow the source of that signal, and you will probably find an uninitialized register somewhere. That's the most common cause.
By the way, you are simulating hardware, not software.