entity
complex_current_source is
generic
(dcurr, ac_amplit, ac_phase, noise_amplit: real:=0.0);
port
(terminal tplus, tminus: electrical);
end
complex_current_source;
architecture
example of current_source is
quantity
i through tplus to
tminus;
quantity
quant_ac: real spectrum ac_amplit, ac_phase;
quantity
quant_noise: real noise ns_amplit;
begin
i == dcurr + quant_ac + quant_noise;
end
example;
|