lnis-uofu / OpenFPGA

An Open-source FPGA IP Generator
https://openfpga.readthedocs.io/en/master/
MIT License
820 stars 160 forks source link

Missing expected argument for --fix_pins #1261

Open narutozxp opened 1 year ago

narutozxp commented 1 year ago

OPENFPGA Version: 8.1.0-dev+4834fd012

As I ran a command described as follows

vpr /home/data/shawn/eFPGA/Code/OpenFPGA/OpenFPGA/narutozxp/work/study/config_dir/k4n8_tactic_dsp/pin_constrain/run006/k4_frac_N8_tileable_adder_chain_dpram8K_dsp24_fracff_HG55nm_sub_tile/u8bits_add/MIN_ROUTE_CHAN_WIDTH/arch/k4_frac_N8_tileable_adder_chain_dpram8K_dsp24_fracff_HG55nm_sub_tile.xml u8bits_add.blif --device 26x26_MEM_FLOAT --route_chan_width 100 --fix_pins /home/data/shawn/eFPGA/Code/OpenFPGA/OpenFPGA/narutozxp/work/study/config_dir/test/config/pin_place/u8bits_add.place --timing_tradeoff 1.0 --constant_net_method route --write_rr_graph example_rr_graph.xml

OPENFPGA raise an error of "Missing expected argument for --fix_pins", However i had specified such a file, so i didn't know it is my fault or OPENFPGA's bug.

tangxifan commented 1 year ago

@narutozxp If you are using the latest version, I believe the proper option name should be --fix_clusters

https://github.com/lnis-uofu/OpenFPGA/blob/c011641fa09f9498f987967bec8048d5b02ac426/openfpga_flow/openfpga_shell_scripts/fix_pins_example_script.openfpga#L3