U
uday.das@gmail.com
Guest
Hi ,
To detect whether a bit of a multibit signal is unconnected or
undriven , i.e having X or Z value in Verilog we check in a very simple
way :
^data_bus[31:0]=== 1'bX
i.e. we do XOR reduction of all the bit then comare with X, if it is
evalates to X then we know any of the bit is undriven or unconnected.
How we can model Verilog reduction operator in VHDL ? I guess by loop.
Please help me few lines of code for that ?
Thanks and regards
Uday
To detect whether a bit of a multibit signal is unconnected or
undriven , i.e having X or Z value in Verilog we check in a very simple
way :
^data_bus[31:0]=== 1'bX
i.e. we do XOR reduction of all the bit then comare with X, if it is
evalates to X then we know any of the bit is undriven or unconnected.
How we can model Verilog reduction operator in VHDL ? I guess by loop.
Please help me few lines of code for that ?
Thanks and regards
Uday