OpenCores
URL https://opencores.org/ocsvn/gng/gng/trunk

Subversion Repositories gng

[/] [gng/] [trunk/] [matlab/] [ctg_seed.m] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 guangxi.li
% CTG_SEED    Generate Combined Tausworthe Generator seed
2
%
3
% The calling syntax is:
4
%     z = ctg_seed(s)
5
%
6
% Input:
7
%     s: seed, unsigned 32-bit integer
8
%
9
% Output:
10
%     z: initial internal state, 3 x 1 vector of unsigned 64-bit integer
11
 
12
% Copyright (C) 2014, Guangxi Liu <guangxi.liu@opencores.org>
13
%
14
% This source file may be used and distributed without restriction provided
15
% that this copyright statement is not removed from the file and that any
16
% derivative work contains the original copyright notice and the associated
17
% disclaimer.
18
%
19
% This source file is free software; you can redistribute it and/or modify it
20
% under the terms of the GNU Lesser General Public License as published by
21
% the Free Software Foundation; either version 2.1 of the License,
22
% or (at your option) any later version.
23
%
24
% This source is distributed in the hope that it will be useful, but
25
% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
26
% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
27
% License for more details.
28
%
29
% You should have received a copy of the GNU Lesser General Public License
30
% along with this source; if not, download it from
31
% http://www.opencores.org/lgpl.shtml

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.