Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error in nv_small_256 #18

Open
MengXiao92 opened this issue Mar 31, 2019 · 7 comments
Open

build error in nv_small_256 #18

MengXiao92 opened this issue Mar 31, 2019 · 7 comments

Comments

@MengXiao92
Copy link

你好,直接build nv_small是成功的,但是在build nv_small_256是遇到了一个错误,我修改tree.make
PROJECTS := nv_small_256
执行命令:./tools/bin/tmake -build ready_for_test
出现错误:
make: *** [vcs_build] Error 255
Died at ./tools/bin/tmake line 254.
[TMAKE]: DONE
在outdir下,查看log
$ cat nv_small_256.verif_trace_player.log

Parsing library file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/NV_DW02_tree.v'
Parsing library file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/NV_DW_lsd.v'
Parsing library file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/NV_DW_minmax.v'
Parsing library directory file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/rams/model/RAMDP_128X11_GL_M2_E2.v'
Parsing library directory file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/rams/model/RAMDP_80X14_GL_M2_E2.v'
Parsing library directory file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/rams/model/RAMPDP_160X16_GL_M2_D2.v'
Parsing library directory file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/rams/model/RAMPDP_160X65_GL_M2_D2.v'
Parsing library directory file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/rams/synth/nv_ram_rwsp_80x65_logic.v'
Parsing library file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/nvdla/nocif/NV_NVDLA_XXIF_libs.v'
Parsing included file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/include/simulate_x_tick.vh'.
Back to file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/nvdla/nocif/NV_NVDLA_XXIF_libs.v'.
Parsing included file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/include/simulate_x_tick.vh'.
Back to file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/nvdla/nocif/NV_NVDLA_XXIF_libs.v'.
Parsing included file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/include/simulate_x_tick.vh'.
Back to file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/nvdla/nocif/NV_NVDLA_XXIF_libs.v'.
Parsing included file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/include/simulate_x_tick.vh'.
Back to file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/nvdla/nocif/NV_NVDLA_XXIF_libs.v'.
Parsing library file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/RANDFUNC.vlib'
Parsing library file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/nv_assert_no_x.vlib'
Parsing included file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/assertion_header.vh'.
Back to file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/nv_assert_no_x.vlib'.
Parsing included file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/assertion_task.vh'.
Back to file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/nv_assert_no_x.vlib'.
Parsing library file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/NV_DW02_tree.v'
Parsing library file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/NV_DW_lsd.v'
Parsing library file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/vlibs/NV_DW_minmax.v'
Parsing library directory file '/home/mengxiao/NVDLA/hw-nv_small1/outdir/nv_small_256/vmod/rams/model/RAMPDP_80X66_GL_M1_D2.v'
1 error
CPU time: 1.774 seconds to compile
Makefile:330: recipe for target 'vcs_build' failed
make: *** [vcs_build] Error 255

问一下,吴老师,这是什么问题,您在build nv_small_256时有遇到问题吗?
谢谢~~

@redpanda3
Copy link

貌似是这个版本不能自己改名字的。。。

@MengXiao92
Copy link
Author

@redpanda3 那就是说不能build nv_small_256了?

@redpanda3
Copy link

嗯,对的,不信你可以看一下build文件。

@MengXiao92
Copy link
Author

这样的话,nv_small版本,就不能修改spec了,只能build nv_small.spec吗?那要是想使用更多的MAC,CBUF的配置,应该怎么办呢?
多谢 ~@redpanda3

@redpanda3
Copy link

mac的数量你也是改不了的,只能改nv_large或是nv_small。因为如果mac数量变了的话,cdma里边的逻辑也要改的(不止设置,各种连线都要改)。

@MengXiao92
Copy link
Author

那nv_large和nv_small还可以修改什么呢?譬如说可不可以使能WEIGHT_COMPRESSION,WINOGRAD呢?

@redpanda3
Copy link

winograd和weight compression也是不好用的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants