OpenCores
URL https://opencores.org/ocsvn/ssbcc/ssbcc/trunk

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [core/] [9x8/] [peripherals/] [timer.py] - Diff between revs 6 and 9

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 6 Rev 9
Line 25... Line 25...
    ratemethod
    ratemethod
      specifies the method to generate the desired timer event rate:
      specifies the method to generate the desired timer event rate:
      1st method:  clk/rate
      1st method:  clk/rate
        clk is the frequency of "i_clk" in Hz
        clk is the frequency of "i_clk" in Hz
          a number will be interpreted as the clock frequency in Hz
          a number will be interpreted as the clock frequency in Hz
          a symbol will be interpreted as a parameter
          a symbol will be interpreted as a constant or a parameter
            Note:  this parameter must have been declared with a "PARAMETER"
            Note:  the symbol must be declared with the CONSTANT, LOCALPARARM,
            command
                   or PARAMETER configuration command.
        rate is the desired baud rate
        rate is the desired baud rate
          this is specified as per "clk"
          this is specified as per "clk"
      2nd method:
      2nd method:
        specify the number of "i_clk" clock cycles between timer events
        specify the number of "i_clk" clock cycles between timer events
      Note:  clk, rate, and count can be parameters or constants.  For example,
      Note:  clk, rate, and count can be parameters or constants.  For example,

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.