《電子技術(shù)應(yīng)用》
您所在的位置:首頁(yè) > 模拟设计 > 设计应用 > 基于PCIE转SATA多通道高速存储电路设计与原型验证
基于PCIE转SATA多通道高速存储电路设计与原型验证
电子技术应用 2023年3期
王琪,张梅娟,邓佳伟,杨楚玮,周迁
(中国电子科技集团公司第五十八研究所,江苏 无锡 214035)
摘要: 针对传统SATA控制器接口单一且无法充分发挥固态盘性能的问题,设计了一款基于PCIE转SATA多通道高速存储电路。充分利用PCIE总线高带宽低延时特性,并遵循AHCI协议,大幅缩短硬盘无用的寻道次数和数据查找时间,提高固态盘的读写性能,同时本设计可支持4路SATA通道,具有良好的可拓展性。设计结合PCIE和SATA协议特点,介绍了PCIE转SATA高速存储电路的系统架构,详细阐述了基于AHCI协议的数据流传输过程。最后基于FPGA原型验证对电路进行测试,电路的单盘读写速率分别为562 MB/s和527 MB /s,相比传统SATA控制器的读写性能具有较大提升,测试结果表明设计的PCIE转SATA高速存储电路读写性能优异,且具备良好的稳定性和可拓展性。
中圖分類號(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í)代的到來(lái),面對(duì)數(shù)據(jù)的爆發(fā)式增長(zhǎng),人們對(duì)高速存儲(chǔ)需求日益迫切。由于SATA(Serial ATA,串行ATA)接口采用串行方式數(shù)據(jù)傳輸,具備結(jié)構(gòu)簡(jiǎn)單、支持熱插拔等特點(diǎn),這使得SATA固態(tài)盤應(yīng)用于各種數(shù)據(jù)存儲(chǔ)場(chǎng)景。PCI Express總線是第三代高性能IO總線,具備點(diǎn)對(duì)點(diǎn)串行互連、傳輸速率快、傳輸帶寬高等特點(diǎn),廣泛地應(yīng)用于嵌入式、服務(wù)器、通信平臺(tái)和計(jì)算系統(tǒng)等領(lǐng)域。

傳統(tǒng)的SATA控制器接口單一且無(wú)法充分發(fā)揮固態(tài)盤讀寫性能,同時(shí)市場(chǎng)上常見(jiàn)的PCIE轉(zhuǎn)SATA存儲(chǔ)芯片多為國(guó)外芯片,價(jià)格昂貴,而且安全性低。在高穩(wěn)定性和高安全性要求的航天航空系統(tǒng)和電子軍工系統(tǒng)對(duì)國(guó)產(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,與上游測(cè)試主機(jī)的PCIE主控制器相連;下游采用4路SATA3.1接口與固態(tài)盤相連,單路SATA接口,最高帶寬為6 Gb/s,從而該電路具備較高的讀寫性能和良好的可拓展性。

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



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




作者信息:

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

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



微信圖片_20210517164139.jpg

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