Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Run Autorouter on MacOS #31

Closed
pierremolinaro opened this issue Jun 4, 2020 · 1 comment
Closed

Cannot Run Autorouter on MacOS #31

pierremolinaro opened this issue Jun 4, 2020 · 1 comment
Labels
bug macOS macOS related issues

Comments

@pierremolinaro
Copy link

Freerouting version: 1.4.4
Platform: MacOS Mojave, MacOS ElCapitan, other MacOS ?
Can you attach the actual (DSN) file? Yes, see below. I have tried different files, always the same behaviour.
Did you use any command line arguments -> No
Please list the detailed steps to reproduce the problem
Open the design.dsn file with Open Your Own Design button. Ok.
Click on Autorouter button. Immediately, it displays Autoroute interrupted, 15 connections not found. Autorouting is not performed.

DSN file (I have appended the txt extension in order to be able to attach the file) :

design.dsn.txt

@andrasfuchs andrasfuchs added the bug label Jun 4, 2020
@andrasfuchs andrasfuchs added this to To do in Freerouting Project Board via automation Jun 4, 2020
@pierremolinaro
Copy link
Author

I think I figured out what's going on.

In my DSN file, I use autoroute_settings.

When I change (start_pass_no 1) to (start_pass_no 0), the autorouter runs one pass (pass 0) and stops.

By reading the source code, I think the set_stop_pass_no method is never called, the stop pass number remains 0.

I have inserted the instruction result.set_stop_pass_no (99999); in the AutorouterSettings.java:

                else if (next_token == Keyword.START_PASS_NO)
                {
                    result.set_start_pass_no(DsnFile.read_integer_scope(p_scanner));
                    result.set_stop_pass_no (99999);
                }

And now the autorouter runs as expected.

I agree that this is not the best place to add the instruction, but it may help you solve this bug.

Best Regards,

Pierre Molinaro

@andrasfuchs andrasfuchs added the macOS macOS related issues label Nov 7, 2021
Freerouting Project Board automation moved this from To do to Done Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug macOS macOS related issues
Projects
Development

No branches or pull requests

2 participants