FlooNoC icon indicating copy to clipboard operation
FlooNoC copied to clipboard

ValueError: math domain error

Open pkushiwang opened this issue 1 year ago • 3 comments

1

how to fix such problew?

pkushiwang avatar Apr 17 '24 07:04 pkushiwang

Did you modify the axi_pkg.yml file? If so, could you post the content here, such that I can reproduce it?

fischeti avatar Apr 17 '24 07:04 fischeti

I have replaced axi_pkg.yml flie with example.yml file. The example.yml file is as follows.

name: example_system description: "Example of a configuration file"

routing: route_algo: "XY" use_id_table: true

protocols: - name: "example_axi" type: "AXI4" direction: "manager" data_width: 64 addr_width: 32 id_width: 3 user_width: 1 - name: "example_axi" type: "AXI4" direction: "subordinate" data_width: 64 addr_width: 32 id_width: 3 user_width: 1

endpoints: - name: "cluster" array: [4, 4] addr_range: base: 0x1000_0000 size: 0x0004_0000 mgr_port_protocol: - "example_axi" sbr_port_protocol: - "example_axi"

routers: - name: "router" array: [4, 4]

connections: - src: "cluster" dst: "router" src_range: - [0, 3] - [0, 3] dst_range: - [0, 3] - [0, 3] bidirectional: true 1 I have installed verilog-format ,but the problem is still exists. Does the error relevant to verilog-format?

pkushiwang avatar Apr 17 '24 09:04 pkushiwang

This error is thrown when no verible-verilog-format executable was found in your path. So you probably forgot to put it into your path. Otherwise there is also a --no-format flag you can give to floogen which will skip the formatting step.

fischeti avatar Apr 19 '24 14:04 fischeti