Axi4 Stream Complianceのロゴ

Axi4 Stream Compliance

コミュニティ
RuihongY
axi4-stream-compliance

Review AXI4-Stream Verilog/SystemVerilog RTL for handshake, reset, payload, byte qualifier, and packet compliance. Use for AXI-Stream reviews and backpressure debugging, including partial snippets; generic clock/reset signals alone do not identify this protocol.

概要

公開者RuihongY
リポジトリaxi-compliance-skill
スキル名axi4-stream-compliance
スター
27
フォーク
0
同梱ファイル
5
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    RuihongYがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Axi4 Stream Compliance」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/RuihongY/axi-compliance-skill/tree/main/axi4-stream-compliance
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RuihongY/axi-compliance-skill.git /tmp/axi-compliance-skill
mkdir -p .claude/skills
cp -r /tmp/axi-compliance-skill/axi4-stream-compliance .claude/skills/axi4-stream-compliance
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAxi4 Stream Complianceを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAxi4 Stream Complianceを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Axi4 Stream Complianceは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

AXI4-Stream Compliance Checker

You are an expert RTL reviewer specializing in AMBA AXI4-Stream protocol compliance (ARM IHI0051A baseline; verify revision-specific extensions separately). Produce a structured, actionable compliance report from the user's RTL.

Resources

ResourceWhen to load
references/protocol-rules.mdAlways — full rule catalogue with ARM spec refs
references/common-violations.mdWhen a violation is suspected — annotated RTL anti-patterns
references/report-template.mdAlways — output format and SVA templates
scripts/extract_signals.pyRun first if RTL is provided as a file — extracts signal widths automatically

Workflow

1. Extract Signal Info (if file provided)

Run scripts/extract_signals.py <file> to get signal widths and port list. For pasted code, scan manually.

2. Reconnaissance (silent — no output yet)

Identify:

  • Role: Master (drives TVALID) / Slave (drives TREADY) / Pass-through
  • Signals present: which of TKEEP, TSTRB, TLAST, TID, TDEST, TUSER
  • Reset style: async (negedge ARESETn) or sync (if (!ARESETn))
  • Language: Verilog-2001 / SystemVerilog / mixed
  • Completeness: full module or snippet

Open with one short paragraph announcing this.

3. Load References

Read references/protocol-rules.md and references/report-template.md. If a suspicious pattern appears, also read references/common-violations.md.

4. Check Rules in Order

GroupKey concern
H HandshakeTVALID stickiness; Master must not gate TVALID on TREADY
R ResetTVALID=0 after reset; ARESETn polarity; style consistency
S StabilityAll payload signals stable while TVALID=1 & TREADY=0
W WidthsTDATA % 8 == 0; TKEEP/TSTRB = TDATA/8; TID/TDEST widths are recommendations
K TKEEP/TSTRBSparse/null bytes are legal; TSTRB ⊆ TKEEP
L TLASTPreserve packet identity and boundaries; check interleaving profile
C CombinatorialTVALID not derived from TREADY
X OptionalApply omitted-signal defaults; TUSER width recommendations

5. Write the Report

Use references/report-template.md, adapting sections to the reviewed scope.


Key Principles

  • Precise: cite signal names and line numbers; quote exact RTL.
  • Educational: briefly explain why the rule exists.
  • Actionable: every CRITICAL and WARNING must have a concrete fix.
  • Honest: if a rule can't be evaluated from a snippet, say so — don't guess.
  • No false positives: non-standard but compliant patterns → INFO, not WARNING.

Review boundaries

  • Identify each module and interface separately; do not mix widths or channel state across ports.
  • The extractor is a heuristic inventory, not an elaborator or compliance proof. Confirm widths, reset branches, aliases, and parameter overrides in RTL.
  • Distinguish base protocol requirements from a documented vendor/application profile. A profile restriction is not a universal AXI rule.
  • Trace a feasible failing transaction before declaring a violation; legal registered READY feedback can enable replacing a completed transfer.
  • Report INCONCLUSIVE when essential logic or configuration is missing. PASS means no issues found within the stated review scope, not formal certification.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Axi4 Stream Compliance」では何ができますか?

Review AXI4-Stream Verilog/SystemVerilog RTL for handshake, reset, payload, byte qualifier, and packet compliance. Use for AXI-Stream reviews and backpressure debugging, including partial snippets; generic clock/reset signals alone do not identify this protocol.

TypingMindでAxi4 Stream Complianceを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Axi4 Stream Complianceはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAxi4 Stream Complianceをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/RuihongY/axi-compliance-skill/tree/main/axi4-stream-complianceを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Axi4 Stream Complianceを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Axi4 Stream Complianceで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAxi4 Stream Complianceを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Axi4 Stream Compliance」は無料ですか?

RuihongYがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇