SDVD/design/playback_controller.sv
Waylon Cude 34d62a197f
All checks were successful
ci/woodpecker/push/test-workflow Pipeline was successful
Add some stubbed out modules for the first bit
Hopefully theses are right ...
2025-05-16 17:58:25 -07:00

21 lines
482 B
Systemverilog

module Playback_Controller(
// This clock should be reasonably slow
input logic clk,
input logic reset,
// Play and pause are the same button
input logic play,
input logic ff,
// Output is 0, 1x, 2x, 4x, or 8x
output wire [3:0] speed
);
wire play_pulse,ff_pulse;
// NOTE: These might need to be hooked to an even lower clock? Not sure
debouncer playDebouncer (clk,reset,play,play_pulse);
debouncer ffDebouncer (clk,reset,ff,ff_pulse);
endmodule