🔁 FSM Templates (教育用)

Moore/Mealy の 最小 Verilog FSM テンプレート集
Minimal Verilog FSM templates for Moore/Mealy machines (educational use).


🎯 目的 | Purpose


📂 含まれるファイル | Contents

ファイル名 説明
Moore_TrafficLight.v Moore 型 FSM: 交通信号制御
Moore FSM: traffic light controller
README.md 本ファイル(使い方と概要)
This file (overview and usage)

⚙️ 使い方 | Usage

  1. 任意の Verilog シミュレータ (Icarus Verilog, ModelSim, etc.) を使用
    Use any Verilog simulator (Icarus Verilog, ModelSim, etc.)

  2. テストベンチを作成して波形を確認
    Write a testbench to check waveforms

    // 簡単な例
    initial begin
      clk = 0;
      forever #5 clk = ~clk; // 10ns period
    end
    
  3. GTKWave 等で波形を観察
    Visualize waveforms with GTKWave, etc.


🚀 今後の拡張 | Future Extensions