首页 > 其他分享 >vivado生成Bitstream报错[Vivado 12-1345] Error(s) found during DRC. Bitgen not run(Vivado 2017.4)。

vivado生成Bitstream报错[Vivado 12-1345] Error(s) found during DRC. Bitgen not run(Vivado 2017.4)。

时间:2023-07-30 18:25:55浏览次数:45  
标签:12 in0 in1 Vivado 报错 DRC out

写了一个很简单的程序,2-4译码器。

module decoder2to4(
    input in1, in0,
    output reg [3:0]out
    );
    
    always @ (*) begin
        if ({in1, in0} == 2'b00) 
            out = 4'b1111;
        else if ({in1, in0} == 2'b01)
            out = 4'b1101;
        else if ({in1, in0} == 2'b10)
            out = 4'b1011;
        else if ({in1, in0} == 2'b11)
            out = 4'b0111;
        else
            out = 4'b1111;
    end
    
endmodule

然后报错

[Vivado 12-1345] Error(s) found during DRC. Bitgen not run
[DRC NSTD-1] Unspecified I/O Standard: 6 out of 6 logical ports use I/O standard (IOSTANDARD) value 'DEFAULT', instead of a user assigned specific value.

官方给的解释就是:

The error message is to notify customers that they need to set IOSTANDARD and PACKAGE_PIN, in order to protect devices from accidental damage that could be caused by the tools randomly choosing a pin location or IOSTANDARD without knowledge of the board voltage or connections.

大概意思就是为了硬件安全起见,逻辑端口最好最好不要悬空,都要在XDC文件中作约束,我这的问题就是,我忘记给逻辑端口做约束了,所以我加上之后问题解决。

在大点的项目中,很多逻辑端口可能确实用不到,官方也给出其中一个解决办法,直接忽略报错:写一个后缀为.tcl的文件,然后添加下边内容。

set_property SEVERITY {Warning} [get_drc_checks NSTD-1]
set_property SEVERITY {Warning} [get_drc_checks UCIO-1]

右击Generate Bitstream,选择Bitstream setting,然后点击箭头标注的位置,添加上面写的.tcl文件就行。
image

网上搜到的,不管啥问题,都直接用了忽略报错的这种方法,还是要因实际而论,官方也给出了各种情况和解决办法。

标签:12,in0,in1,Vivado,报错,DRC,out
From: https://www.cnblogs.com/ZhengLijie/p/17591774.html

相关文章

  • Python报错 | xlrd.biffh.XLRDError Excel xlsx file; not supported
    报错信息Python加载xlsx文件时,遇到:xlrd.biffh.XLRDErrorExcelxlsxfile;notsupported错误原因报错翻译过来是:xlrd.biffh.xlrd错误:Excelxlsx文件;不受支持解决方案方法1:安装指定低版本的xlrd,执行下面的pip安装命令即可:pipinstallxlrd==1.2.0方法2:Excel另存为......
  • 【题解】[ABC312G] Avoid Straight Line(容斥,树上统计,dfs)
    【题解】[ABC312G]AvoidStraightLine题目链接[ABC312G]AvoidStraightLine题意概述给定一棵\(n\)个节点的树,第\(i\)条边连接节点\(a_i\)和\(b_i\),要求找到满足以下条件的三元整数组\((i,j,k)\)的数量:\(1\lei<j<k\len\);对于树上任意一条简单路径,都不同时经......
  • Atcoder-Beginner-Contest-312 A~Ex
    \(Atcoder-Beginner-Contest-312\)AB过于简单,在此略去。\(C-Invisible\)\(Hand\)题意:给定长为\(n\)的数组\(a\),长为\(m\)的数组\(b\),找到最小的非负整数\(x\),使得\(\sum_{i=1}^n[a_i\lex]\ge\sum_{i=1}^m[b_i\gex]\)题解:容易发现,随着\(x\)的增大,右式单调不升,左......
  • 12_Spring_AOP注解方式实现_掌握
    12_Spring_AOP注解方式实现_掌握AspectJ本身并不是spring框架中的组成部分,是一个独立的AOP框架,一般把AspectJ和Spring框架的AOP依赖一起使用,所以要导入一个独立的依赖实现的两种方式1基于注解方式实现(熟练)2基于XML配置方式(了解)准备工作1导入依赖<!-......
  • 关于使用Qt.labs.platform在arch中报错 ERROR: No native FileDialog implementation
    当跟着QtBook的章节QtQuickControls编写一个ImageViewer,运行时报错:ERROR:NonativeFileDialogimplementationavailable.QtLabsPlatformrequiresQtWidgetsonthissetup.Add'QT+=widgets'to.proandcreateQApplicationinmain().尝试过搜索在cmake中引入Q......
  • UG12.0(UG NX12.0)下载-UG12.0直装版安装包下载 软件推荐
    UGNX12.0中文版是一款相当出众和强大的cad设计软件。UGNX12.0中文版可以快速的帮助用户进行CAD的设计,适用于模具设计、产品设计、工业设计等众多领域,可以满足大家的不同需求,是一款不可多得的出色软件!软件地址:看置顶贴软件特色1、更好的协调性ugnx12.0中文版把“主动数字样机(Ac......
  • uniapp+vue3+ts 使用pinia报错
    "hasInjectionContext"isnotexportedby"node_modules/vue-demi/lib/index.mjs",importedby"node_modules/pinia/dist/pinia.mjs".11:36:19.397at../node_modules/pinia/dist/pinia.mjs:6:9解决方法:把pinia降级先删除pinianpmunipinia......
  • Git Clone一个GitHub仓库时,发生报错
    1.问题1.使用HTTP方式:Git:fatal:unabletoaccess'https://github.com/Light-City/CPlusPlusThings.git/':OpenSSLSSL_read:SSL_ERROR_SYSCALL,errno100542.使用SSH方式:没有配置SSH公钥2解决方式1.HTTP方式fatal:unabletoaccess‘https://github.com/…’:O......
  • abc312e <暴力>
    题目E-TangencyofCuboids思路意识到本题的数据规模可以暴力去做!\(N=100\),\(N^3\)直接遍历整个空间可做;立方体间不相交,也就是可以直接遍历立方体中的所有点进行标记,不会超过整体空间体积;立方体不相交,也就是说同一个位置尽可能被标记一次;将空间中每个立方体所占点进行标......
  • abc312d <dp, 括号匹配方案数>
    题目D-CountBracketSequences思路dp[i][j]为考虑前\(i\)个位置,待匹配的(有\(j\)个的方案数;代码点击查看代码#include<iostream>#include<algorithm>#include<vector>#include<cstring>usingnamespacestd;usingLL=longlong;usingPII=pair<......