在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 2561|回复: 3

vcs 编译问题

[复制链接]
发表于 2016-12-4 14:29:39 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
各位大侠,小弟的Makefile内容如下:
vcs_comp=vlogan +v2k $(inc_path) -nc -work work

comp-vcs:
        $(vcs_comp) $(src_path)/cnt.v
        $(vcs_comp) $(src_path)/test.v

vcs: comp-vcs
        vcs  work.test -o ./simv_mx -l comp.log
        #vcs +neg_tchk -negdelay -notice -debug work.test -o ./simv_mx -l comp.log

run-vcs: vcs
        ./simv_max

vcs-clean:
        @if [ -e work ]; then \
                rm -rf work; \
        fi
        @if [ -e comp.log ]; then \
                rm -rf comp.log; \
        fi

编译两个.v文件。
再执行make vcs时,出现一下问题:
vlogan +v2k +incdir+../src -nc -work work ../src/cnt.v
Parsing design file '../src/cnt.v'
vlogan +v2k +incdir+../src -nc -work work ../src/test.v
Parsing design file '../src/test.v'
vcs  work.test -o ./simv_mx -l comp.log
                         Chronologic VCS (TM)
            Version C-2009.06 -- Mon Dec  5 14:03:53 2016
               Copyright (c) 1991-2008 by Synopsys Inc.
                         ALL RIGHTS RESERVED

This program is proprietary and confidential information of Synopsys Inc.
and may be used and disclosed only as authorized in a license agreement
controlling such use and disclosure.


Error-[SFCOR] Source file cannot be opened
  Source file "work.test" cannot be opened for reading due to 'No such file or
  directory'.
  Please fix above issue and compile again.
  
  

1 error
cpu time: .342 seconds to compile
make: *** [vcs] Error 255

各位大神如何解决?谢谢
发表于 2016-12-8 11:05:23 | 显示全部楼层
Source file cannot be opened
 楼主| 发表于 2017-6-11 11:00:02 | 显示全部楼层
不是找不到文件,是无法创建work库
 楼主| 发表于 2017-6-11 11:02:28 | 显示全部楼层
需要在本地建立一个synopsys_sim.setup文件,内容如下:
WORK > DEFAULT
DEFAULT : ./work
好像就行了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

×

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-3-29 05:02 , Processed in 0.019979 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表