乙太網路通訊協定為視訊串流應用最被廣泛使用的標準,傳統使用通用型微 處理器以嵌入式軟體實現視訊串流的網路服務,需要耗費非常大量運算成本、功 耗及系統資源,往往造成系統效能的瓶頸。 本研究在 FPGA 平台上設計並實現了一個全硬體化的高速嵌入式視訊串流 系統。此一系統包含兩大模組:gigabit UDP/IP 卸載引擎,以及影像擷取及視訊 串流格式化模組。UDP/IP 卸載引擎又切割成傳輸層控制器、網路層控制器和連 結層控制器等子模組,同時我們設計一個上層的管線化控制器以整合這些高速的 硬體模組。影像擷取及視訊串流格式化模組則由CMOS 攝影機取像控制器和隨 後的格式化產生器及最後的定位封裝產生器所構成。 結果顯示,我們的硬體化UDP/IP 卸載引擎使用的硬體資源極為精簡,電路 面積不到3K 邏輯單元(Logic Element, LE),記憶體需求為87 Kbit,此一結果將 十分利於未來超低成本ASIC 晶片的量產。此外,我們在125MHz 系統時脈的 FPGA 平台即可達到gigabit 等級的網路資料流處理,解決了傳統使用微處理器的 效能瓶頸。 The most widely used standards for delivering streaming video web services are based on ethernet protocol combined with a traditional general-purpose microprocessor with embedded software. The performance bottleneck of this architecture is that it requires a large amount of computing power, system resources, and power consumption. We designed a FPGA platform to implement a full hardware-based high-speed embedded video streaming system. This system consists of two modules: a gigabit UDP/IP Offload Engine, as well as a video capture and streaming format module. The video capture and streaming module acted as a controller to capture video in the format of the CMOS camera module and to translate it into the last generated position posed by the generator package. Our hardware-based UDP/IP Offload Engine required less hardware resources. The circuit area used was less than 3K logic units and memory requirements were 87 Kbits. This result could be beneficial to future ultra-low-cost mass produced ASIC chips. In addition, the 125MHz system clock in the FPGA platform was able to achieve gigabit class network data streaming performance and could be used to address traditional microprocessor performance bottlenecks.