Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 527 Bytes

File metadata and controls

33 lines (24 loc) · 527 Bytes

PWM Generator

Jason Lu 98-154 Intro to Open-Source Chip Design, Fall 2022

Description

Generates 100 Hz PWM signal. The duty cycle inputs run from 0 - 50 and specify a duty cycle of input * 2.

Link up switches to the duty cycle inputs and toggle them to set the duty cycle. Wire an LED to the PWM output to see the output.

Inputs

  • clock
  • reset
  • duty cycle 0
  • duty cycle 1
  • duty cycle 2
  • duty cycle 3
  • duty cycle 4
  • duty cycle 5

Outputs

  • pwm output
  • none
  • none
  • none
  • none
  • none
  • none
  • none