Re: [myhdl-list] New MyHDL Tutorial Available.
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2011-04-13 12:22:24
|
On 4/13/2011 2:55 AM, David Rodríguez wrote: > Hi, > > I'm being "picky" but it will be a good idea to change variable CLK_RATE > to CLK_48Mhz. It makes more sense when reading the code as the LED rate > of change is also named LED_RATE. In doing so, it is easier to > understand things like Nloops=CLK_48Mhz*LED_RATE. > Does CLK_FREQ work for you? I don't want to explicitly state 48MHz because we are targeting multiple boards, all which have different frequencies. Chris Felton (I also noticed I can't do math in comments :), I will fix if someone already hasn't ) <snip> |