当前位置:首页 > 报告详情

MetRex:使用 LLM 进行 Verilog 代码度量推理的基准.pdf

上传人: 芦苇 编号:651806 2025-05-01 19页 3.05MB

1、MetRex:A Benchmark for Verilog Code Metric Reasoning using LLMsManar Abdelatty,Jingxiao Ma,Sherief RedaBrown University,Providence,RIhttps:/ PPA Estimation Of Verilog DesignsMotivation:Provide designer with early feedback on the quality(power,performance,area)of their designs by avoiding expensive s

2、ynthesis time.RTLFaster Design Cycles Architectural Choice TradeoffsRTL Style 1RTL Style 2RTL Style 3RTL Style 4Is my RTL Area efficient?21 P.Sengupta,et al.How Good Is Your Verilog RTL Code?A Qauick Answer from Machine Learning,2022 IEEE/ACM International Conference On Computer Aided Design(ICCAD),

3、San Diego,CA,USA.2 Fang,Wenji,et al.MasterRTL:A Pre-Synthesis PPA Estimation Framework for Any RTL Design.2023 IEEE/ACM International Conference on Computer Aided Design(ICCAD).IEEE,2023.Previous Work:Metric Estimation Using Machine LearningTotal Input BitsTotal Output BitsTotal Logic Op.BitsTotal A

4、dder/Sub Bits.Average Tree depthAverage Tree widthFeature Vector#of ANDS#of ORs#of XORs#of NOTs#of MUXSequential AreaCombinational AreaFeature Vector12Abstract Syntax Tree(AST)Simple Operator Graph(SOG)Input:RTL Code Post synthesis Metrics(Area,Delay,Power)PredictRTL Code Input:Feature Vector Output

5、:Post-synthesis MetricsPreprocessPredict3Previous Work:Metric Estimation Using Machine Learning4Intermediate Formats:Have to convert RTL code to intermediary format like Abstract Syntax Tree(ASTs)or Simple Operator Graphs(SoG).Manual Feature Extraction:Extract manually engineered features from the i

6、ntermediate format;extracted features constitute the input to the ML model.What LLMs Could Offer?Process RTL code directly(a lossless representation):InputAfter synthesis the design will have.Thus total are will be 12.0-Eliminate the need for manual feature extraction and conversion into intermediar

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文介绍了一种名为MetRex的基准测试,用于通过大语言模型(LLM)对Verilog设计进行后综合性能指标(PPA)推理。研究目的是为了在设计早期提供对设计质量(功耗、性能、面积)的反馈,避免昂贵的综合时间。文章提出了一个包含25,868个设计的数据集,这些设计经过合成后无语法错误,并注明了其面积、延迟和静态功耗等后综合指标。实验结果显示,经过指令微调的LLM在推理这些指标时,性能提高了37.0%、25.3%和25.7%。最佳模型在面积、延迟和静态功耗上的准确率分别达到73.2%、61.6%和52.2%。此外,MetRex直接处理RTL代码,无需手动特征提取,减少了预处理时间,并且比逻辑综合和基于回归的模型推理速度更快。通过实验比较,LLM在严格的误差范围内表现优于回归模型,在更宽松的误差范围内则相反。MetRex的代码和数据集可在GitHub上找到。
如何提升Verilog设计质量?" MetRex实验结果如何?" 如何改变Verilog设计 metric estimation的游戏规则?"
客服
商务合作
小程序
服务号
折叠