How raddyn/vhdl-de1-semestral-project-pwm-sound-generator works
This is a Nexys A7 VHDL PWM sound-generator design. Users adjust frequency or duty with the rotary encoder and buttons, choose the active parameter with a switch, and view values on a seven-segment display; the design also generates a PWM output. The README documents the top-level wiring and these capabilities, but no source excerpts were provided, so internal connections beyond those explicit descriptions are omitted.
Main entry points: top_level.vhd Top-Level Wiring · encoder.vhd Rotary Encoder · debounce.vhd Button Debounce · frequency.vhd Frequency Setting
Components 17
User Controls
- Mode Switch
- Rotary Encoder
Design sources/encoder.vhd - Button Debounce
Design sources/debounce.vhd - Mode Selector
Design sources/mode_selector.vhd
Signal Settings
- Frequency Setting
Design sources/frequency.vhd - Duty Setting
Design sources/duty.vhd - Frequency Logic
Design sources/frequency.vhd
PWM and Display
- PWM Generation
Design sources/pwm_module.vhd - PWM Variant
Design sources/pwmV2.vhd - Seven-Segment Display
Design sources/x7seg.vhd - Digit Encoding
Design sources/bin2seg.vhd
Timing and Interface
- Top-Level Wiring
Design sources/top_level.vhd - Clock Source
Design sources/clock.vhd - Clock Enable
Design sources/clock_enable.vhd - Counter
Design sources/counter.vhd
Other components
- Operator
- PWM-Driven Device
Connections 14
- Operator → Rotary Encoder: turns
README.md - Operator → Button Debounce: presses buttons
README.md - Operator → Mode Switch: selects mode
README.md - Rotary Encoder → Frequency Setting: adjusts
README.md - Rotary Encoder → Duty Setting: adjusts
README.md - Button Debounce → Frequency Setting: button input
- Button Debounce → Duty Setting: button input
- Top-Level Wiring → Mode Selector: wires
README.md - Top-Level Wiring → Frequency Setting: wires
README.md - Top-Level Wiring → Duty Setting: wires
README.md - Top-Level Wiring → PWM Generation: wires
- Top-Level Wiring → Seven-Segment Display: wires
README.md - Mode Selector → Seven-Segment Display: selects display data
README.md - PWM Generation → PWM-Driven Device: drives