计算机科学 > 机器学习
[提交于 2024年1月18日]
标题:Using LLM such as ChatGPT for Designing and Implementing a RISC Processor: Execution,Challenges and Limitations
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper discusses the feasibility of using Large Language Models LLM for code generation with a particular application in designing an RISC. The paper also reviews the associated steps such as parsing, tokenization, encoding, attention mechanism, sampling the tokens and iterations during code generation. The generated code for the RISC components is verified through testbenches and hardware implementation on a FPGA board. Four metric parameters Correct output on the first iteration, Number of errors embedded in the code, Number of trials required to achieve the code and Failure to generate the code after three iterations, are used to compare the efficiency of using LLM in programming. In all the cases, the generated code had significant errors and human intervention was always required to fix the bugs. LLM can therefore be used to complement a programmer code design.
提交历史
来自:Shadeeb Hossain[v1] 2024年1月18日 星期四 20:14:10 UTC