Hello,
How to pass timing parameter in VHDL-AMS block.
In my schema I use Clock generator and want to have a possibility
to rapidly change its frequency from schemati editor.
But VHDL time constants style "1 ms", "105 us", etc.
aren't properly interpreted by elaborator.
Elaboration pass and simulation runs, but clock period is some accidental value (very large by the way).
For example, clock period of following instatiation of clock oscillator is about 1.682 sec.
Help, please.
Code:`include "disciplines.vams"
`include "constants.vams"
module CLOCK_GEN_test ( );
CLOCK_GEN #(.tclk("2 us")) (*
integer library_binding
= "LIB1";
*)
U_DUT ( .clk( clk ) );
endmodule