Altera_Forum
Honored Contributor
17 years agoQSF file set_parameter for time type generics
Hello,
I've got a problem with setting a generic value of my top level entity with the "set_parameter" option in the project's .qsf file. The generic value is of type time: entity strobegen isgeneric
(
gclkfrequency : natural := 10e6;
gstrobecycletime : time := 10 us
);
port
(
inresetasync : in std_ulogic;
iclk : in std_ulogic;
ostrobe : out std_ulogic
); I tried several options, like: set_parameter -name gstrobecycletime 10000
set_parameter -name gstrobecycletime 10 us
set_parameter -name gstrobecycletime "10 us"
set_parameter -name gstrobecycle time 10us, but Quartus always returns an Error like "The string literal doesn't match time type" or "us not defined". Can someone help me out with this?:)