PwmSquareOscillator
PWM変調可能な矩形波オシレーター 全て組み合わせ回路で実装しているため遅延ゼロ
Ports
| clk | input | clock | クロック |
|---|---|---|---|
| phase_rst | input | bbool | 位相ゼロリセット (同期) |
| phase_step | input | gndless_nco Phase step_t | 1クロックあたりの位相ステップ量: step = (ターゲット周波数 * 2^48) / システムクロック周波数 |
| duty_cycle | input | gndless_nco Phase phase_t | デューティ比 位相のどこまで High にするか (0 ~ 2^32-1) |
| audio | modport | gndless_fixedpoint __FixedPointValue__gndless_fixedpoint_Q4_23 output_port | 波形出力 (Q4.23形式) |