J
jitendra
Guest
hi all,
if my code is like this:
module mod_greater(out, in0, in1);
input [7:0] in0, in1;
output [7:0] out;
assign out = in0 < in1;
endmodule
now, with simulating with Modelsim if one of the operand is
having x or
z value; the result out is having all bits x i.e. out =
8'bxxxxxxxx.
& while simulating with NC-SIM, the LSB bit comes x only & all
other
bits set to zero. i.e. the result is out = 8'b0000000x.
please tell me which one is true result.
& whose standards should be followed?
suggest me. looking for a positive reply from you all.
thanks n regards,
jiten
if my code is like this:
module mod_greater(out, in0, in1);
input [7:0] in0, in1;
output [7:0] out;
assign out = in0 < in1;
endmodule
now, with simulating with Modelsim if one of the operand is
having x or
z value; the result out is having all bits x i.e. out =
8'bxxxxxxxx.
& while simulating with NC-SIM, the LSB bit comes x only & all
other
bits set to zero. i.e. the result is out = 8'b0000000x.
please tell me which one is true result.
& whose standards should be followed?
suggest me. looking for a positive reply from you all.
thanks n regards,
jiten