# An Open Implementation Flow for the Xilinx Spartan-3E and Spartan-6 that Runs in the Browser, Checked Byte for Byte Against ISE

ブラウザで動作し、ISEとバイト単位で照合したXilinx Spartan-3EおよびSpartan-6向けのオープン実装フロー

Pedro Malo · arXiv · 2026年11月9日

- **課題** Spartan-3EとSpartan-6はISE 14.7でのみサポートされており、これらのデバイス向けのオープンな実装フローが必要です。
- **手法** Silinxは、ISEをブラックボックスとして観察してビットデータベースを作成し、nextpnrをWebAssemblyで実行して配置・配線を行います。そのうえでISEをオラクルとして使い、バイト単位でビットストリームを検証します。
- **結果** XC3S1200Eの45個の共通設計では、Area目標でスライスが15%少なく、クリティカルパスが14%短くなりました。Speed目標ではスライスが21%少なく、パスが8%短くなりました。Fast目標ではパスが12%長くなりました。

## 旧世代Spartanデバイスのオープンフローの空白

Spartan-3EとSpartan-6はISE 14.7のみでサポートされており、このツールは提供が終了しています。教育用ボードでは広く使われていますが、オープンソースのフローは不足しています。Silinxは、HDLからプログラマブルビットストリームまでのフローをブラウザとNode.jsで実行できるようにし、結果がISEとバイト単位で一致するかを検証します。この論文の対象範囲は、Spartan-3E（XC3S100EからXC3S1200Eまで）とSpartan-6（XC6SLX16、XC6SLX45）です。

## ブラックボックス観察によるビットデータベース

ビットデータベースは、ISEの文書化されたXDL形式と、bitgenの観察によって構築されます。テスト設計はXDLで記述され、xdl -xdl2ncdで変換された後、bitgenが書き出したビットを比較します。機能はビット単位のORで結合されるため、各PIPにコードワードを割り当てることで、複数の機能を1回のISE実行で同時に測定できます。バリアント設計は、コードワードのビットが設定されたPIPだけを残し、20個のバリアントがコース設計の4072個のPIPをすべて測定しました。測定されなかった設定はルーティンググラフから除外され、ライタはビットストリームの代わりに、必要な未測定機能の一覧を返します。

## ISEをオラクルとするバイト単位の検証

検証では、配置・配線済みの設計をXDLで書き出し、ISEに変換、DRC（drc -z）、ビットストリーム生成を実行させます。Silinxのビットストリームは、CRCを有効にした場合も無効にした場合も、ISEとバイト単位で一致しなければなりません。DRCはエラー0件、警告0件である必要があります。この検証は、6つのデバイスのコース例、機能固定設計、コーパス設計に適用されました。ただし、オラクルが確認できるのはビットストリームと配線の正当性だけで、配置の品質は測定しません。

## nextpnrのアーキテクチャとSilinxツールの接続

nextpnrのHimbaechelフレームワークは、チップデータベースとC++のマイクロアーキテクチャを入力として受け取ります。Silinxは、デバイス記述からタイル種別、ワイヤ、PIP、ノード、BELを生成し、測定されていないPIPは除外します。各PIPには、対応するノードクラスの遅延が付与されます。配線結果はXDLに変換され、Silinxの静的タイミングとビットストリーム生成器が読み込み直します。初期には自前の配置器とPathFinderルータを使っていましたが、その後はnextpnrがこれに代わりました。

## 67個の設計によるISEとの品質比較

品質比較は、XC3S1200Eで、オープンソースの67個の設計のうち、両方のフローでビルドできた45個の設計を基準にしています。最適化目標はArea、Speed、Fastに分かれます。Areaでは、Silinxのスライスが15%少なく、クリティカルパスが14%短くなっています。Speedでは、スライスが21%少なく、クリティカルパスが8%短くなっています。Fastでは、スライスが20%少ない一方で、クリティカルパスが12%長くなっています。数値はすべて幾何平均で、ISE側は各目標に合わせたXST設定と、map -c 1および5nsの制約を使い、最善を尽くした結果です。

## Fast目標の格差と適用範囲

Fastでクリティカルパスが長くなるのは、Fastが一般的な面積指向のマッピングと1回の配置を使うため、深い論理が深いまま残るからです。例えば、epfl-maxはISEの25.7nsより長い68.2nsと測定されました。論文では、このFastの結果が、15.23.0で導入された深さルールを含まない測定であると述べられています。品質比較は、XC3S1200Eの1デバイスとISEの1バージョンに限られており、Spartan-6フローの品質はISEとの比較が行われていません。ビルド時間は、幾何平均で、AreaとFastでは80–84%短く、Speedでは11%短くなっています。

## 論文情報

- **著者**: Pedro Malo
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月9日
- **登録日**: 2026年11月11日
- **更新日**: 2026年11月9日
- **バージョン**: v1
- **arXiv**: 2611.13008
- **カテゴリ**: cs.AR · cs.AI · cs.SE · eess.SY
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.13008v1) · [PDF ↗](https://arxiv.org/pdf/2611.13008v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

The author describes an open implementation flow, from HDL to a programmable bitstream, for the Xilinx Spartan-3E (XC3S100E to XC3S1200E) and Spartan-6 (XC6SLX16, XC6SLX45), devices that only the discontinued ISE 14.7 supports. The flow runs unchanged in a web browser or in Node.js: Yosys and nextpnr compiled to WebAssembly, with nextpnr's Himbaechel framework given Spartan-3E and Spartan-6 architectures generated from Silinx's own device descriptions, bit database and timing model, and Silinx's own bitstream writer. The bit database was built by black-box observation of ISE's documented XDL and bitgen tools, using codeword-batched experiments; the router is given only switches whose bits were measured, and the writer refuses a feature it has not measured. ISE is the oracle: for the same placed and routed design, the bitstream is byte-identical to the one bitgen writes and ISE's DRC is clean. Placement and routing were first done by an in-house annealer and PathFinder router, which nextpnr replaced once it matched them. On 67 open-source designs for the XC3S1200E, compared with ISE at the same optimisation goal (45 designs built by both), the flow uses 15% fewer slices and has 14% shorter critical paths at goal Area, 21% fewer slices and 8% shorter paths at Speed, and 20% fewer slices but 12% longer paths at Fast (geometric means). XST cannot read 15 of the designs. The flow is published as the npm package silinx-fpga (Apache-2.0).

## この論文を引用

Pedro Malo (2026). An Open Implementation Flow for the Xilinx Spartan-3E and Spartan-6 that Runs in the Browser, Checked Byte for Byte Against ISE. arXiv:2611.13008v1. https://arxiv.org/abs/2611.13008v1

**BibTeX**

```
@misc{malo2026open,
  title = {{An Open Implementation Flow for the Xilinx Spartan-3E and Spartan-6 that Runs in the Browser, Checked Byte for Byte Against ISE}},
  author = {Pedro Malo},
  year = {2026},
  eprint = {2611.13008},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.13008v1}
}
```

## この論文の用語

- [simulated annealing](https://refivu.com/ja/terms/9b60d729645e-simulated-annealing)
- [bit database](https://refivu.com/ja/terms/84a9664dea00-bit-database)
- [black-box observation](https://refivu.com/ja/terms/9268dba47c9d-black-box-observation)
- [Critical path](https://refivu.com/ja/terms/115401ab4a7b-critical-path)
- [DRC](https://refivu.com/ja/terms/d5206d296032-drc)
- [EPFL](https://refivu.com/ja/terms/4a42a8bdec2b-epfl)
- [FAST](https://refivu.com/ja/terms/b8102ba73086-fast)
- [Himbaechel](https://refivu.com/ja/terms/8d8d8db224b8-himbaechel)
- [nextpnr](https://refivu.com/ja/terms/61ca72083716-nextpnr)
- [PathFinder](https://refivu.com/ja/terms/b4692141fc82-pathfinder)
- [Silinx](https://refivu.com/ja/terms/e02237ef6679-silinx)
- [Slices](https://refivu.com/ja/terms/b9c4554487e8-slices)
- [XDL](https://refivu.com/ja/terms/2147417e9360-xdl)
- [XST](https://refivu.com/ja/terms/5c3ee674846b-xst)
- [Yosys](https://refivu.com/ja/terms/24ca4d89ddfa-yosys)

## ほかの論文解説

- [Outliers and the Hard-Margin Linear SVM in High-Dimension, Low-Sample-Size Settings](https://refivu.com/ja/papers/73e9e2d4-2a62-476e-b2be-a2371e735ac2-outliers-and-the-hard-margin-linear-svm-in.md)
- [Target Selection with a Disappearing-Stimulus Mixed-Reality P300 Interface: Feasibility and Object-Distinguishable Versus Uniform Cues](https://refivu.com/ja/papers/1c09d2b7-b256-4a8a-bef2-61484b9dab98-target-selection-with-a-disappearing-stimulus-mixed-reality.md)
- [Where to Approximate in Neurosymbolic Inference?](https://refivu.com/ja/papers/74587851-411d-4452-aa81-05d587b5de7d-where-to-approximate-in-neurosymbolic-inference.md)
- [CP-MLPs: A Tensor-Rank Theory of Tied and Untied MLP Blocks](https://refivu.com/ja/papers/25cf535a-6e5f-47aa-a1e4-dbaa3c6aa0f3-cp-mlps-a-tensor-rank-theory-of-tied.md)
- [Counting Under Disagreement: Dollar-Weighted Measurement, Selective Machine Labelling and Budgeted Human Review from Disagreeing AI Readers of Administrative Text](https://refivu.com/ja/papers/af261e08-56f4-4c82-95e0-57ec1ecf0304-counting-under-disagreement-dollar-weighted-measurement.md)
- [Near-Optimal Sample Complexity of Deterministic Agnostic PAC Learning](https://refivu.com/ja/papers/39c5e4f6-4a92-4c1d-b07b-0e6ecad3cdc4-near-optimal-sample-complexity-of-deterministic-agnostic-pac.md)
- [Tabular Foundation Models vs Tuned Gradient Boosting for Telecom Churn: A Profit- and Calibration-Aware Evaluation](https://refivu.com/ja/papers/16e17cb7-9611-4734-92d0-ecc0f6e300c8-tabular-foundation-models-vs-tuned-gradient-boosting-for.md)
- [Spatial-Spectral Coupling as Attention: Scaling Shape Correspondence to High-Resolution Surfaces](https://refivu.com/ja/papers/ec4cab4c-a79c-4fcf-9756-a37f9deb749b-spatial-spectral-coupling-as-attention-scaling-shape.md)
- [HiPFuse: Real-Time LiDAR Semantic Segmentation for Robotic Perception on Edge Devices](https://refivu.com/ja/papers/8e2b4ac0-1c6c-4dea-99a9-66b00b113881-hipfuse-real-time-lidar-semantic-segmentation-for-robotic.md)
- [Code-Grounded Agentic Explanations for Static Analysis Vulnerability Findings](https://refivu.com/ja/papers/e9fa7593-41df-421f-8615-e0870316904f-code-grounded-agentic-explanations-for-static-analysis.md)
- [A 10K drone image dataset with component-level annotations for rooftop photovoltaic inspection](https://refivu.com/ja/papers/ad6f1b16-4df6-4907-921b-7e6e4561820e-a-10k-drone-image-dataset-with-component-level.md)
- [Can KV Cache Be Reused Across Model Updates? A DeepSeek-V4-Flash Case Study](https://refivu.com/ja/papers/2a378acb-fd85-44d1-8ccc-bf1d4892bc39-can-kv-cache-be-reused-across-model-updates.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/5ac731a8-e673-440c-80f2-006646cc9c6a-an-open-implementation-flow-for-the-xilinx-spartan)
