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.
13 lines
260 B
13 lines
260 B
//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
|
|
|