You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
260 B
14 lines
260 B
7 months ago
|
//VerilogA for tools,vfreq,veriloga
|
||
|
|
||
|
`include "constants.vams"
|
||
|
`include "disciplines.vams"
|
||
|
|
||
|
module vfreq(Vlam);
|
||
|
parameter real freq = 1G from (0:inf);
|
||
|
output Vlam;
|
||
|
electrical Vlam;
|
||
|
analog begin
|
||
|
V(Vlam) <+ `P_C / freq;
|
||
|
end
|
||
|
endmodule
|