I'm writing a Gaussian noise generator in verilog,
the code work fine when the output is a vector of logic (16 bit)
but i need this code to communicate with another block which is using Real inputs
i had tryed the $bitstoreal function but it is not working, the output is always O
what i had done is replacing output [16, 0] data_out1 by output real data_out1 in module in/out declaration, and add "assign data_out1 = $bitstoreal(data_out);" data_out is a bit vector coming from an other module
any help