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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
楼主: 9065574912

[求助] 求助:vcs分步编译

[复制链接]
 楼主| 发表于 2016-7-1 16:05:35 | 显示全部楼层
回复 50# loecd4346


   好的,不好意思,刚看到
发表于 2016-7-14 05:16:02 | 显示全部楼层
回复 27# 9065574912


因為太忙最近很久沒來了,
我無法重現您遇到的 error,
是否能提供 make dut 和 make tb 和 make elab 時產生的完整 log
以及執行完 make dut 和 make tb 之後的檔案架構給我參考看看?

make dut log:
Warning-[LNX_OS_VERUN] Unsupported Linux version
  Linux version 'CentOS release 6.7 (Final)' is not supported on 'x86_64'
  officially, assuming linux compatibility by default. Set VCS_ARCH_OVERRIDE
  to linux or suse32 to override.
  Please refer to release notes for information on supported platforms.

                         Chronologic VCS (TM)
         Version K-2015.09-SP2-1 -- Thu Jul 14 05:14:38 2016
               Copyright (c) 1991-2015 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.

Parsing design file 'adder.v'
CPU time: .043 seconds to compile


make tb log:
Warning-[LNX_OS_VERUN] Unsupported Linux version
  Linux version 'CentOS release 6.7 (Final)' is not supported on 'x86_64'
  officially, assuming linux compatibility by default. Set VCS_ARCH_OVERRIDE
  to linux or suse32 to override.
  Please refer to release notes for information on supported platforms.

                         Chronologic VCS (TM)
         Version K-2015.09-SP2-1 -- Thu Jul 14 05:15:01 2016
               Copyright (c) 1991-2015 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.

Parsing design file 'tb.v'
CPU time: .038 seconds to compile


make elab log:
Warning-[LNX_OS_VERUN] Unsupported Linux version
  Linux version 'CentOS release 6.7 (Final)' is not supported on 'x86_64'
  officially, assuming linux compatibility by default. Set VCS_ARCH_OVERRIDE
  to linux or suse32 to override.
  Please refer to release notes for information on supported platforms.

Doing common elaboration

Warning-[LNX_OS_VERUN] Unsupported Linux version
  Linux version 'CentOS release 6.7 (Final)' is not supported on 'x86_64'
  officially, assuming linux compatibility by default. Set VCS_ARCH_OVERRIDE
  to linux or suse32 to override.
  Please refer to release notes for information on supported platforms.

                         Chronologic VCS (TM)
         Version K-2015.09-SP2-1 -- Thu Jul 14 05:16:16 2016
               Copyright (c) 1991-2015 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.

Top Level Modules:
       tb
No TimeScale specified
Starting vcs inline pass...
1 module and 0 UDP read.
recompiling module tb
make[1]: Entering directory `'
rm -f _csrc*.so linux_scvhdl_*.so pre_vcsobj_*.so share_vcsobj_*.so
if [ -x ../simv ]; then chmod -x ../simv; fi
g++  -o ../simv   ......
../simv up to date
make[1]: Leaving directory `/home/kaiba/work/test_3step/csrc'
CPU time: .249 seconds to compile + .282 seconds to elab + .147 seconds to link


檔案架構:
test_3step
|-- DUT
|   `-- AN.DB
|       |-- AllModulesSkeletons.db
|       |-- compat.db
|       |-- debug_dump
|       |-- dumpcheck.db
|       |-- dve.sdb
|       |-- make.vlogan
|       |-- modfilename.db
|       |-- str.db
|       |-- vir.sdb
|       |-- vir_global.sdb
|       `-- vloganopts.db
|-- Makefile
|-- TB
|   `-- AN.DB
|       |-- AllModulesSkeletons.db
|       |-- compat.db
|       |-- debug_dump
|       |-- dumpcheck.db
|       |-- dve.sdb
|       |-- make.vlogan
|       |-- modfilename.db
|       |-- str.db
|       |-- vir.sdb
|       |-- vir_global.sdb
|       `-- vloganopts.db
|-- adder.v
|-- synopsys_sim.setup
`-- tb.v
发表于 2016-7-14 18:39:17 | 显示全部楼层
参考user guide
 楼主| 发表于 2016-7-15 09:01:07 | 显示全部楼层
回复 52# lgen7604

太感谢啦!已经找到原因了,是软件的问题。谢谢啦!
 楼主| 发表于 2016-7-15 10:07:29 | 显示全部楼层
回复 52# lgen7604

不过还有个问题是,这个东西能编译成像动态链接库一样的吗?
发表于 2016-7-15 12:22:16 | 显示全部楼层
回复 55# 9065574912


我記得是可以,但是沒試過,操作細節要查 user guide。
 楼主| 发表于 2016-7-15 14:54:12 | 显示全部楼层
回复 56# lgen7604


   好的,那我自己再看看 ,真是太感谢啦!
发表于 2016-7-31 08:26:26 | 显示全部楼层
vcs有个partition的example,有具体例子,去学习吧
发表于 2016-10-7 13:32:40 | 显示全部楼层
你好,我也遇到分步编译的问题。就是你在这个帖子里说的那样,怎么才能再编译testbench的时候,用之前编译好的DUT。谢谢。
发表于 2021-8-2 13:52:26 | 显示全部楼层
好文!!!!!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-12-18 21:49 , Processed in 0.023817 second(s), 7 queries , Gzip On, Redis On.

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