URL
https://opencores.org/ocsvn/gng/gng/trunk
Subversion Repositories gng
[/] [gng/] [trunk/] [matlab/] [ctg_gen.m] - Rev 2
Compare with Previous | Blame | View Log
% CTG_GEN Generate Combined Tausworthe number % % The calling syntax is: % x = ctg_gen(z, n) % [x, zf] = ctg_gen(z, n) % % Input: % z: initial internal state, 3 x 1 vector of unsigned 64-bit integer % n: length of pseudorandom numbers % % Output: % x: pseudorandom values, n x 1 vector of unsigned 64-bit integer % zf: final internal state after output n numbers