Altera_Forum
Honored Contributor
9 years agogenerate clock after a specific number
hi! I started to learn VHDL,so be patient :)
also my english is poor :cool: but I try to explain my problem: I try to emulate a code for generate (and delay it by a precise integer) the clock, but i can't get it. how can I do? so I have to generate and delay the clock, for example delay 100ps, with a fixed period from "generic (period: time: = 100ps);" CODE: entity test_out is generic (period: time :=100ps; halfperiod: time := 50ps); port ( rit: in integer range 0 to 255; --delay for start clock localCLK: inout std_logic ) ; end test_out; the architecture does not exist because i I tried different solutions but many useless and maybe stupid :D