首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >yosys在ABC pass上失败(在对位演示上)

yosys在ABC pass上失败(在对位演示上)
EN

Stack Overflow用户
提问于 2016-07-05 09:50:30
回答 1查看 1K关注 0票数 0

我希望有人能帮我.

这是我第一次见到你。首先,我试图运行与Clifford在他的演示中解释的完全相同的演示。我在以下位置下载了演示:Intro

yosys在ABC pass上运行的喙带着以下信息:

代码语言:javascript
复制
12. Executing ABC pass (technology mapping using ABC).

12.1. Extracting gate netlist of module `\counter' to `<abc-temp-dir>/input.blif'..
Extracted 6 gates and 12 wires to a netlist network with 4 inputs and 2 outputs.

12.1.1. Executing ABC.
Running ABC command: <yosys-exe-dir>/yosys-abc -s -f <abc-temp-dir>/abc.script 2>&1
ABC: ABC command line: "source <abc-temp-dir>/abc.script".
ABC: 
ABC: + read_blif <abc-temp-dir>/input.blif 
ABC: + read_lib -w /home/boris/Documents/Self Learning/yosys_synthesys/mycells.lib 
ABC: usage: read_lib [-SG float] [-M num] [-dnvwh] <file>
ABC:               reads Liberty library from file
ABC:    -S float : the slew parameter used to generate the library [default = 0.00]
ABC:    -G float : the gain parameter used to generate the library [default = 0.00]
ABC:    -M num   : skip gate classes whose size is less than this [default = 0]
ABC:    -d       : toggle dumping the parsed library into file "*_temp.lib" [default = no]
ABC:    -n       : toggle replacing gate/pin names by short strings [default = no]
ABC:    -v       : toggle writing verbose information [default = yes]
ABC:    -v       : toggle writing information about skipped gates [default = yes]
ABC:    -h       : prints the command summary
ABC:    <file>   : the name of a file to read
ABC: ** cmd error: aborting 'source <abc-temp-dir>/abc.script'
ERROR: Can't open ABC output file `/tmp/yosys-abc-KDGya6/output.blif'.
[boris@E7440 yosys_synthesys]$ 

我查看了上面错误声明中提到的文件位置,其中没有output.blif:

代码语言:javascript
复制
[boris@E7440 yosys_synthesys]$ ll /tmp/yosys-abc-KDGya6/
total 12K
-rw-rw-r--. 1 boris boris 542 Jul  5 11:21 abc.script
-rw-rw-r--. 1 boris boris 526 Jul  5 11:21 input.blif
-rw-rw-r--. 1 boris boris 852 Jul  5 11:21 stdcells.genlib
[boris@E7440 yosys_synthesys]$ 

下面是一些可能与调试相关的系统/工具信息:

代码语言:javascript
复制
Linux E7440.DELL 4.4.13-200.fc22.x86_64 #1 SMP Wed Jun 8 15:59:40 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Yosys 0.6+141 (git sha1 080f95f, gcc 5.3.1 -fPIC -Os)

UC Berkeley, ABC 1.01 (compiled Mar  8 2015 01:00:49)
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-07-05 11:28:48

问题已经解决了..。

解决方案=从以下位置更改rundir:

/home/boris/Documents/自学习/yosys_synthesys/mycells.lib

至:

/home/boris/Documents/SelfLearning/yosys_synthesys/mycells.lib

经验教训= ABC工具不接受路径/文件名中的空格字符。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38200249

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档