-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpu.html
More file actions
89 lines (79 loc) · 3.8 KB
/
cpu.html
File metadata and controls
89 lines (79 loc) · 3.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>中央處理器 (CPU) - 電腦硬體架構指南</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<header>
<div class="logo">3D電腦硬體介紹網站</div>
<div class="menu-toggle">
<i class="fas fa-bars"></i>
</div>
<nav>
<ul>
<li><a href="index.html">首頁</a></li>
<li><a href="comparison.html">元件比較</a></li>
<li><a href="overview.html">架構總覽</a></li>
</ul>
</nav>
</header>
<main class="container">
<section class="detail-hero">
<div class="detail-info">
<h1>中央處理器 (CPU)</h1>
<p class="subtitle" style="color: var(--text-muted); font-size: 1.2rem;">Central Processing Unit - 電腦的大腦
</p>
</div>
<img src="cpu.png" alt="CPU Image" class="detail-img">
</section>
<section>
<div class="info-section">
<h2>基本定義</h2>
<p>CPU 是電腦中負責解釋和執行指令的核心元件。就像人類的大腦一樣,它負責處理來自軟硬體的所有請求,進行算術、邏輯、控制和輸入/輸出 (I/O) 操作。</p>
</div>
<div class="info-section">
<h2>功能說明</h2>
<ul style="padding-left: 20px; line-height: 1.6;">
<li><strong>指令週期 (Instruction Cycle):</strong> 執行擷取 (Fetch)、解碼 (Decode)、執行 (Execute) 的循環。</li>
<li><strong>算術邏輯運算:</strong> 透過 ALU (Arithmetic Logic Unit) 進行加減乘除與邏輯判斷。</li>
<li><strong>控制協調:</strong> 指揮其他硬體元件(如記憶體、硬碟)何時傳輸資料。</li>
</ul>
</div>
<div class="info-section">
<h2>系統角色與交互關係</h2>
<p>CPU 位於資料處理的中心:</p>
<div style="margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap;">
<div class="glass-panel" style="flex: 1;">
<h3 style="color: var(--secondary-color)">與 RAM</h3>
<p>CPU 從 RAM 讀取指令與資料。RAM 的速度與容量直接影響 CPU 的等待時間。</p>
</div>
<div class="glass-panel" style="flex: 1;">
<h3 style="color: var(--secondary-color)">與 GPU</h3>
<p>CPU 負責計算物理與邏輯,然後指揮 GPU 繪製畫面。如果是玩遊戲,CPU 就像導演,GPU 則是畫師。</p>
</div>
</div>
</div>
</section>
<div style="text-align: center; margin: 4rem 0;">
<a href="index.html" class="glass-panel" style="display: inline-block;">← 返回首頁導覽</a>
</div>
</main>
<footer>
<div class="footer-content">
<p>聯絡資訊:</p>
<div class="contact-item">
<i class="fab fa-google"></i> Gmail: c113181121@nkust.edu.tw
</div>
<div class="contact-item">
<i class="fab fa-github"></i> github: <a href="https://github.com/EK181121"
target="_blank">https://github.com/EK181121</a>
</div>
</div>
</footer>
</body>
</html>