Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
『Verylで作るCPU』を読んでいる
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kenta
October 17, 2025
Technology
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
『Verylで作るCPU』を読んでいる
Kenta
October 17, 2025
More Decks by Kenta
See All by Kenta
マイクロプログラム制御方式のCPUを自作した話
kenta11
0
510
Elixirで作る将棋ソフト
kenta11
0
170
失くしたリモコンを作る2
kenta11
0
110
失くしたリモコンを作る
kenta11
0
58
Other Decks in Technology
See All in Technology
Browser Spec: Testing Hotwire with Ruby
takahashim
1
130
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
300
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
170
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
200
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
490
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
120
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
190
会社説明資料
persolserverworks
0
9.8k
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
150
Refining Active Record
shugo
0
170
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
5
1.3k
Featured
See All Featured
We Are The Robots
honzajavorek
0
400
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
500
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
540
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
HDC tutorial
michielstock
2
960
Building Flexible Design Systems
yeseniaperezcruz
330
41k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Transcript
『Verylで作るCPU』 を読んでいる Kenta Arai 2025/10/18 『Verylで作るCPU』を読んでいる@第6回 自作CPUを語る会 1
自己紹介 • 名前:Kenta Arai • Twitter: @isKenta14 • Qiita: Kenta11
• 仕事:組込みソフトウェア開発 • 趣味で作ったもの • micro-alpha • 簡素なマイクロプログラム制御方式CPU • Xilinx FPGA 上で実際に動かせました • simple_uart:UART の SystemVerilog 実装 2025/10/18 『Verylで作るCPU』を読んでいる@第6回 自作CPUを語る会 2
これまでにやった自作CPU • MICRO-1[1]:マイクロプログラム制御方式の簡素なCPU • 制御部 • 制御記憶:1語40ビット、最大4K語の容量 • アドレス長:12ビット •
被制御部 • 主記憶:1語16ビット、最大64K語の容量 • 汎用レジスタ:16ビット×8 • SystemVerilog で実装 • Xilinx FPGA 上で動作させることができた • PC と FPGA 間を UART で接続 • 逆ポーランド記法の電卓が動作した 2025/10/18 『Verylで作るCPU』を読んでいる@第6回 自作CPUを語る会 3 [1] 馬場敬信:ソフトウェア講座(23)マイクロプログラミング, 昭晃堂, pp. 31-107, 1985 図. デモプログラムが動作する様子
SystemVerilog で書くのは結構ツライ • Verilog-HDL から続く古典的な構文スタイル • 手頃なフォーマッタや静的解析ツールが少ない →Veryl が解決してくれるかも? 2025/10/18
『Verylで作るCPU』を読んでいる@第6回 自作CPUを語る会 4
Veryl • SystemVerilog にトランスパイルされる HDL • JavaScript にとっての TypeScript みたいな立ち位置
• 文法がモダンで書きやすい • 公式も「学習の容易さ、設計プロセスの信頼性と効率の向上、および コードの記述の容易さが実現されます。」と言っている • トランスパイラだけでなく、静的解析器やコードフォーマッタ 等のツールチェインも公開されている • verylup で一通りインストールできる • 文法だけでなく、この辺のエコシステムも含めて Rust の影響を受け ているっぽい 2025/10/18 『Verylで作るCPU』を読んでいる@第6回 自作CPUを語る会 5
Veryl の書きやすいところ • コードブロック • SystemVerilog だと begin, end のところ、Veryl
では {} • 複数 bit の信号の宣言 2025/10/18 『Verylで作るCPU』を読んでいる@第6回 自作CPUを語る会 6 • 列挙型の定義と名前空間
Veryl で感心したアイデア • リセットの性質(極性と同期)をコードから分離できる • SystemVerilog では、文法上はリセットはあくまで信号の1つ • Veryl ではリセット型を用意し、リセット専用の構文を備えており
リセットの性質は設定ファイルから変更できる 2025/10/18 『Verylで作るCPU』を読んでいる@第6回 自作CPUを語る会 7
Veryl で自作 CPU をしたい • そんなことを考えていたら、すでに素敵なテキストがあった Verylで作るCPU • Veryl で
RISC-V を実装する内容 • 執筆中のようで、目次を読むと、ゆくゆくは Linux を動かす構 想もあるみたい 2025/10/18 『Verylで作るCPU』を読んでいる@第6回 自作CPUを語る会 8
『Verylで作るCPU』を読んでいる • テキストを読み進めながら RISC-V コアを実装中 • 実装の進捗は Zenn でスクラップにしてます •
テキストで直したら良さそうなところは PR 投げてます • みなさんも一緒に読みませんか? 2025/10/18 『Verylで作るCPU』を読んでいる@第6回 自作CPUを語る会 9