ValueError: math domain error
how to fix such problew?
Did you modify the axi_pkg.yml file? If so, could you post the content here, such that I can reproduce it?
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
I have installed verilog-format ,but the problem is still exists. Does the error relevant to verilog-format?
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.