Since the following is defined in this module.
Code:parameter real fc = 0 from [0:inf); // flicker noise corner frequency (Hz)
I think noise implementation should be like following.
Quote:Theta(out) <+ Theta(in) / ratio;
Theta(out) <+ flicker_noise(n*fc, 1, "fpn");
Theta(out) <+ noise_table({
0, n,
bw, n,
fmax, n*pow((fmax/bw), 2*order)
}, "dsn"));
or
Quote:Theta(out) <+ Theta(in) / ratio;
Theta(out) <+ flicker_noise(n*fc, 1, "fpn");
Theta(out) <+ white_noise(n, "wpn")
Theta(out) <+ noise_table({
bw, 0,
fmax, n*pow((fmax/bw), 2*order)
}, "dsn"));