# 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에 코드워드를 부여하여 여러 기능을 한 번의 ISE 실행으로 함께 측정하는 코드워드 배치가 가능해집니다. 변종 설계는 코드워드의 비트가 설정된 PIP만 유지하며, 20개의 변종이 코스 설계의 4072개 PIP를 모두 측정했습니다. 측정되지 않은 설정은 라우팅 그래프에서 제외되고, 작성기는 비트스트림 대신 필요한 미측정 기능 목록을 반환합니다.

## ISE를 오라클로 쓰는 바이트 단위 검증

검증은 배치·배선된 설계를 XDL로 써서 ISE가 변환, DRC(drc -z), 비트스트림 작성을 수행하게 하는 방식입니다. Silinx의 비트스트림은 CRC를 켠 경우와 끈 경우 모두 ISE와 바이트 단위로 같아야 하며, DRC는 0 오류와 0 경고여야 합니다. 이 검증은 여섯 장치의 코스 예제, 기능 고정물, 코퍼스 설계에 적용되었습니다. 다만 오라클은 비트스트림과 배선의 합법성을 확인할 뿐, 배치 품질을 측정하지는 않습니다.

## 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가 일반 면적 지향 매핑과 한 번의 배치를 쓰며, 깊은 논리가 깊게 남기 때문입니다. 예를 들어 epfl-max는 ISE의 25.7ns보다 긴 68.2ns로 측정되었습니다. 논문은 이 Fast 결과를 15.23.0에서 도입된 깊이 규칙이 포함되지 않은 측정으로 밝힙니다. 품질 비교는 XC3S1200E 한 장치와 ISE 한 버전에 한정되며, 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)

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

## 다른 논문 해설

- [Outliers and the Hard-Margin Linear SVM in High-Dimension, Low-Sample-Size Settings](https://refivu.com/papers/73e9e2d4-2a62-476e-b2be-a2371e735ac2-outliers-and-the-hard-margin-linear-svm-in.md)
- [Conformal Risk Control for QoT-Aware Lightpath Feasibility Under Technology-Driven Domain Shift](https://refivu.com/papers/11e6f403-70db-44f9-a521-94ad7a42bab4-conformal-risk-control-for-qot-aware-lightpath-feasibility.md)
- [Target Selection with a Disappearing-Stimulus Mixed-Reality P300 Interface: Feasibility and Object-Distinguishable Versus Uniform Cues](https://refivu.com/papers/1c09d2b7-b256-4a8a-bef2-61484b9dab98-target-selection-with-a-disappearing-stimulus-mixed-reality.md)
- [Where to Approximate in Neurosymbolic Inference?](https://refivu.com/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/papers/25cf535a-6e5f-47aa-a1e4-dbaa3c6aa0f3-cp-mlps-a-tensor-rank-theory-of-tied.md)
- [The RSI Tax: When Recursive Self-Improvement Is Not Worth the Cost](https://refivu.com/papers/27ca4d33-7272-4984-ad0f-113af313d3b6-the-rsi-tax-when-recursive-self-improvement-is.md)
- [Tabular Foundation Models vs Tuned Gradient Boosting for Telecom Churn: A Profit- and Calibration-Aware Evaluation](https://refivu.com/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/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/papers/8e2b4ac0-1c6c-4dea-99a9-66b00b113881-hipfuse-real-time-lidar-semantic-segmentation-for-robotic.md)
- [Transparency Disclosures for Chain-of-Thought Monitorability](https://refivu.com/papers/b55dd058-a265-4aca-ba94-b6ed20bdc694-transparency-disclosures-for-chain-of-thought-monitorability.md)
- [Code-Grounded Agentic Explanations for Static Analysis Vulnerability Findings](https://refivu.com/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/papers/ad6f1b16-4df6-4907-921b-7e6e4561820e-a-10k-drone-image-dataset-with-component-level.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/5ac731a8-e673-440c-80f2-006646cc9c6a-an-open-implementation-flow-for-the-xilinx-spartan)
