quartus编译时compile design出现错误

在编写led程序,编译时出现错误
// ********************************************************************
// >>>>>>>>>>>>>>>>>>>>>>>>> COPYRIGHT NOTICE <<<<<<<<<<<<<<<<<<<<<<<<<
// ********************************************************************
// File name : LED.v
// Module name : LED
// Author : STEP
// Description : control LED
// Web : www.stepfpga.com
//
// --------------------------------------------------------------------
// Code Revision History :
// --------------------------------------------------------------------
// Version: |Mod. Date: |Changes Made:
// V1.0 |2017/03/02 |Initial ver
// --------------------------------------------------------------------
// Module Function:利用按键和开关的状态来控制LED灯的亮灭。

module LED (key,sw,led);

input [3:0] key;                        //按键输入信号
input [3:0] sw;                         //开关输入信号
output [7:0] led;                       //输出信号到LED

assign led = {key,sw};                                          //assign连续赋值。大括号是拼接符,表示把key和sw拼接组成一个新的8位数赋值给led

endmodule

代码从网站上粘贴的,然后在编译时出现了错误:
Error (215039): Power Analyzer (quartus_pow) cannot be run. It requires a successful run of the Assembler. The Assembler (quartus_asm) failed or was not run.
Error: Quartus Prime Power Analyzer was unsuccessful. 1 error, 1 warning
Error: Peak virtual memory: 4661 megabytes
Error: Processing ended: Wed Sep 16 16:37:42 2020
Error: Elapsed time: 00:00:03
Error: Total CPU time (on all processors): 00:00:00
想知道怎样可以解决这个wen'ti

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问