《電子技術(shù)應(yīng)用》
您所在的位置:首頁 > 模擬設(shè)計(jì) > 設(shè)計(jì)應(yīng)用 > 基于PCIE轉(zhuǎn)SATA多通道高速存儲(chǔ)電路設(shè)計(jì)與原型驗(yàn)證
基于PCIE轉(zhuǎn)SATA多通道高速存儲(chǔ)電路設(shè)計(jì)與原型驗(yàn)證
電子技術(shù)應(yīng)用 2023年3期
王琪,張梅娟,鄧佳偉,楊楚瑋,周遷
(中國電子科技集團(tuán)公司第五十八研究所,江蘇 無錫 214035)
摘要: 針對(duì)傳統(tǒng)SATA控制器接口單一且無法充分發(fā)揮固態(tài)盤性能的問題,設(shè)計(jì)了一款基于PCIE轉(zhuǎn)SATA多通道高速存儲(chǔ)電路。充分利用PCIE總線高帶寬低延時(shí)特性,并遵循AHCI協(xié)議,大幅縮短硬盤無用的尋道次數(shù)和數(shù)據(jù)查找時(shí)間,提高固態(tài)盤的讀寫性能,同時(shí)本設(shè)計(jì)可支持4路SATA通道,具有良好的可拓展性。設(shè)計(jì)結(jié)合PCIE和SATA協(xié)議特點(diǎn),介紹了PCIE轉(zhuǎn)SATA高速存儲(chǔ)電路的系統(tǒng)架構(gòu),詳細(xì)闡述了基于AHCI協(xié)議的數(shù)據(jù)流傳輸過程。最后基于FPGA原型驗(yàn)證對(duì)電路進(jìn)行測試,電路的單盤讀寫速率分別為562 MB/s和527 MB /s,相比傳統(tǒng)SATA控制器的讀寫性能具有較大提升,測試結(jié)果表明設(shè)計(jì)的PCIE轉(zhuǎn)SATA高速存儲(chǔ)電路讀寫性能優(yōu)異,且具備良好的穩(wěn)定性和可拓展性。
中圖分類號(hào):TN401 文獻(xiàn)標(biāo)志碼:A DOI: 10.16157/j.issn.0258-7998.223077
中文引用格式: 王琪,張梅娟,鄧佳偉,等. 基于PCIE轉(zhuǎn)SATA多通道高速存儲(chǔ)電路設(shè)計(jì)與原型驗(yàn)證[J]. 電子技術(shù)應(yīng)用,2023,49(3):72-76.
英文引用格式: Wang Qi,Zhang Meijuan,Deng Jiawei,et al. Design and prototype verification of multi-channel high-speed storage circuit base on PCIE to SATA[J]. Application of Electronic Technique,2023,49(3):72-76.
Design and prototype verification of multi-channel high-speed storage circuit base on PCIE to SATA
Wang Qi,Zhang Meijuan,Deng Jiawei,Yang Chuwei,Zhou Qian
(China Electronics Technology Group Corporation No.58 Research Institute, Wuxi 214035, China)
Abstract: Aiming at the problem that the traditional SATA controller has a single interface and cannot give full play to the performance of the SSD, a multi-channel high-speed storage circuit based on PCIE to SATA is designed. This design makes full use of the high-bandwidth and low-latency characteristics of the PCIE bus and follows the AHCI protocol, which can greatly reduce the useless seek times and data search time of the hard disk, and improve the read performance. At the same time, the design can support 4 SATA channels and has good scalability. This design combines the characteristics of PCIE and SATA protocols, introduces the system architecture of PCIE to SATA high-speed storage circuit, and elaborates the data stream transmission process based on AHCI protocol. Finally, the circuit is tested based on the FPGA prototype verification. The single-disk read and write rates of the circuit are 562MB/s and 527MB/s, respectively. Compared with the traditional SATA controller, the read and write performance is greatly improved. The test results show that the designed PCIE to SATA high-speed storage circuit has excellent read and write performance, and has good stability and scalability.
Key words : PCIE to SATA;AHCI protocol;multi-channel;FPGA verification

0 引言

隨著信息化時(shí)代的到來,面對(duì)數(shù)據(jù)的爆發(fā)式增長,人們對(duì)高速存儲(chǔ)需求日益迫切。由于SATA(Serial ATA,串行ATA)接口采用串行方式數(shù)據(jù)傳輸,具備結(jié)構(gòu)簡單、支持熱插拔等特點(diǎn),這使得SATA固態(tài)盤應(yīng)用于各種數(shù)據(jù)存儲(chǔ)場景。PCI Express總線是第三代高性能IO總線,具備點(diǎn)對(duì)點(diǎn)串行互連、傳輸速率快、傳輸帶寬高等特點(diǎn),廣泛地應(yīng)用于嵌入式、服務(wù)器、通信平臺(tái)和計(jì)算系統(tǒng)等領(lǐng)域。

傳統(tǒng)的SATA控制器接口單一且無法充分發(fā)揮固態(tài)盤讀寫性能,同時(shí)市場上常見的PCIE轉(zhuǎn)SATA存儲(chǔ)芯片多為國外芯片,價(jià)格昂貴,而且安全性低。在高穩(wěn)定性和高安全性要求的航天航空系統(tǒng)和電子軍工系統(tǒng)對(duì)國產(chǎn)自主安全的PCIE轉(zhuǎn)SATA存儲(chǔ)電路需求日益激增。

本文基于PCIE和SATA協(xié)議設(shè)計(jì)了一款基于PCIE轉(zhuǎn)SATA的多通道高速存儲(chǔ)電路,本設(shè)計(jì)采用PCIE2.0 x4接口,最高帶寬為20 Gb/s,與上游測試主機(jī)的PCIE主控制器相連;下游采用4路SATA3.1接口與固態(tài)盤相連,單路SATA接口,最高帶寬為6 Gb/s,從而該電路具備較高的讀寫性能和良好的可拓展性。

本設(shè)計(jì)充分利用PCIE總線的高帶寬低延時(shí)特性,結(jié)合AHCI協(xié)議的NCQ、TCQ技術(shù),增加命令隊(duì)列最大長度,大幅縮短硬盤無用的尋道次數(shù)和數(shù)據(jù)查找時(shí)間,從而提高固態(tài)盤的讀寫性能。



本文詳細(xì)內(nèi)容請(qǐng)下載:http://ihrv.cn/resource/share/2000005232




作者信息:

王琪,張梅娟,鄧佳偉,楊楚瑋,周遷

(中國電子科技集團(tuán)公司第五十八研究所,江蘇 無錫 214035)



微信圖片_20210517164139.jpg

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。