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

Subversion Repositories ssbcc

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

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

Rev 6 Rev 9
Line 28... Line 28...
    outsignal=o_name
    outsignal=o_name
      specifies the name of the output signal
      specifies the name of the output signal
      Note:  The name must start with "o_".
      Note:  The name must start with "o_".
    ratemethod={clk/rate|count}
    ratemethod={clk/rate|count}
      specifies the frequency at which the PWM counter is incremented
      specifies the frequency at which the PWM counter is incremented
 
      Note:  "clk," "rate," and "count" can be integers or can be declared by
 
             CONSTANT, LOCALPARARM, or PARAMETER configuration commands.
      Example:  ratemethod=count means to increment the PWM counter once every
      Example:  ratemethod=count means to increment the PWM counter once every
                "count" clock cycles.
                "count" clock cycles.
 
      Example:  ratemethod=G_CLK_HZ/1_000 means to use the parameter G_CLK_HZ
 
                (set elsewhere) and a 1,000 Hz update rate to determine the
 
                number of clock cycles between updates.
    invert|noinvert
    invert|noinvert
      optional configuration command to invert or to not invert the PWM output
      optional configuration command to invert or to not invert the PWM output
      Default:  don't invert the output (i.e., a command of 0 means the output is
      Default:  don't invert the output (i.e., a command of 0 means the output is
                always low)
                always low)
      Note:  "invert" should be used when pulling the external signal to ground
      Note:  "invert" should be used when pulling the external signal to ground

powered by: WebSVN 2.1.0

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