跳到主要内容

解析大型的Xilinx ISE FPGA构建输出日志的辅助命令行工具

项目描述


_ _
__ ___ __ ___ ___ __ _ ___ | |_ ___ ___ | |___
\ \/ / '_ ` _ \/ __|/ _` / __|_____| __/ _ \ / _ \| / __|
> <| | | | | \__ \ (_| \__ \_____| || (_) | (_) | \__ \
/_/\_\_| |_| |_|___/\__, |___/ \__\___/ \___/|_|___/
|___/

Xilinx构建输出的Python辅助工具。


### 进行中

存在一些明显的问题

- 某些消息类型上未处理的异常
- 报告了重复的消息
- 等等

### 安装

这是纯Python,没有依赖项。仅在Linux(debian wheezy)上进行了测试。

使用PyPI

pip install xmsgs-tools

或者,本地安装:

python setup.py install

### 使用

使用 ``xmsgsprint -h`` 或 ``xmsgsdiff -h`` 查看用法。示例:

bnewbold@ent$ xmsgsprint test/run_a/xst.xmsgs -t severe -f
HDLCompiler:413: 32位表达式的结果被截断以适应2位目标。
HDLCompiler:413: 32位表达式的结果被截断以适应4位目标。
HDLCompiler:413: 9位表达式的结果被截断以适应8位目标。
HDLCompiler:413: 9位表达式的结果被截断以适应8位目标。
HDLCompiler:413: 9位表达式的结果被截断以适应8位目标。
HDLCompiler:413: 3位表达式的结果被截断以适应2位目标。
HDLCompiler:413: 9位表达式的结果被截断以适应8位目标。
HDLCompiler:413: 32位表达式的结果被截断以适应2位目标。
HDLCompiler:413: 3位表达式的结果被截断以适应2位目标。
HDLCompiler:413: 32位表达式的结果被截断以适应9位目标。
HDLCompiler:413: 32位表达式的结果被截断以适应12位目标。
HDLCompiler:413: 32位表达式的结果被截断以适应4位目标。
HDLCompiler:413: 32位表达式的结果被截断以适应5位目标。

=== 摘要 ==================================================================
严重警告:13


bnewbold@ent$ xmsgsdiff test/run_a test/run_b --by-file -i 2261 2677 37 647 -s "*main*" -t warning
--- <unknown>
+Xst:0: Value "<PROCESSOR name={system} numA9Cores={2} clockFreq={666.66666...
+Xst:2254: 区块 <main> 的面积约束无法满足,最终比率 i...

=== 摘要 ==================================================================
警告:153 (+2, -0)

### 示例原始.xmsgs

<msg type="warning" file="Xst" num="37" delta="new" >Detected unknown constraint/property &quot;<arg fmt="%s" index="1">x_interface_info</arg>&quot;. This constraint/property is not supported by the current software release and will be ignored.
</msg>

<msg type="info" file="Xst" num="3210" delta="new" >&quot;<arg fmt="%s" index="1">/home/bnewbold/leaf/twl/dds/hdl/block_design/ip/block_design_axi_gpio_0_0/synth/block_design_axi_gpio_0_0.vhd</arg>&quot; 行 <arg fmt="%s" index="2">167</arg>: 实例 <<arg fmt="%s" index="4">U0</arg>> 的输出端口 <<arg fmt="%s" index="3">gpio_io_o</arg>> 未连接或连接到无负载信号。
</msg>

### 注意事项

'fulltext' 不是一个唯一的标识符;许多警告文本是重复的

另请参阅,XReport GUI 工具。

### TODO

- 消息编号在工具间是否唯一?如果不是,则需要更复杂的过滤。
- 折叠冗余警告(例如,同一端口上的每个位)

项目详情


下载文件

下载适合您平台文件的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

xmsgs-tools-0.2.1.tar.gz (5.6 kB 查看散列)

上传时间

由以下提供支持