Re: [myhdl-list] I am working on the first translation.
Brought to you by:
jandecaluwe
From: Martín G. <ga...@gm...> - 2011-05-03 19:02:04
|
2011/5/3 Christopher Lozinski <loz...@fr...>: > My apologies. I should have looked that up. > > From the manual. > > Inside the top level function we declare a local function called sayHello() > that defines the desired behavior. This function is decorated with an > always() decorator that has a delay object as its parameter. The meaning is > that the function will be executed whenever the specified delay interval has > expired. > > How about: > >> - ``@always_comb`` executes when you change any input signal >> - ``@always``: executes after on a scheduled interval > ok, wrong again. that is a particular case because you are using delay(10) delay is helper function wich produce an event until a period of time. But you could use @always either with your own signal, as usually with a "clock" for synced logic. Ok, ask in the list and read the manual carefully, please ;-) |