OSCPU / yosys-sta

40 stars 10 forks source link

module含有未使用的端口会导致yosys-sta报出get_ports clk was not found #5

Closed out-of-order55 closed 1 month ago

out-of-order55 commented 5 months ago

当我使用commit号为8deb008e3f6413a7a07426ff62b46d2ce840ce96的yosys-sta时(IEDA的Git version:bb7f026a1df9bffcf508087af682fe32931b950f),出现当模块或子模块内部有未使用的端口时,yosys-sta爆出以下错误 微信图片_20240428220856 当注释掉未使用端口后,yosys-sta可正常运行 我的测试代码如下

module test (
    input               clk,
    input               a,
    input               b,
    output              c
);
    reg temp;
    always @(posedge clk) begin
        temp <= a;
    end
    assign c = temp;
endmodule

b为未使用的端口,sdc文件使用的example的gcd.sdc

out-of-order55 commented 5 months ago

result.zip 这是综合后的result

sashimi-yzh commented 5 months ago

已向开发团队反馈问题, 感谢指出!

sashimi-yzh commented 2 months ago

我们已经更新了iEDA的版本. 请尝试已下命令:

cd yosys-sta
git pull origin master
rm -rf bin
make init
# try to generate the timing report of your design