This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`default_nettype none | |
module autoplayer | |
#( | |
parameter real CLK_FREQ = 100e6, // クロック周波数 (Hz) | |
parameter real MM = 140 // メトロノームテンポ | |
) | |
( | |
input wire clk, | |
input wire ctrl_in, // 制御ボタン入力 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`default_nettype none | |
module delta_sigma | |
#( | |
parameter int WIDTH = 16 | |
) | |
( | |
input wire clk, | |
input wire [WIDTH-1:0] data_in, | |
output logic pulse_out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`default_nettype none | |
module delta_sigma | |
#( | |
parameter int WIDTH = 16 | |
) | |
( | |
input wire clk, | |
input wire [WIDTH-1:0] data_in, | |
output logic pulse_out |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`default_nettype none | |
module pwm_sound | |
#( | |
parameter real CLK_FREQ = 100e6, // クロック周波数 (Hz) | |
parameter int COUNT_WIDTH = 32 // カウンタビット幅 | |
) | |
( | |
input wire clk, | |
input wire [3:0] btn_in, // ボタン入力 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`default_nettype none | |
module pulse_sound | |
#( | |
parameter real CLK_FREQ = 100e6, // クロック周波数 (Hz) | |
parameter int COUNT_WIDTH = 32 // カウンタビット幅 | |
) | |
( | |
input wire clk, | |
input wire [3:0] btn_in, |