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

suppress repack commands' error message #1593

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

treelin611
Copy link
Collaborator

In Arkangel, the repack_dc file can be automatically generated from commands such as "set_clk" and "set_reset" in the PCF file. Therefore, some modifications are made in this PR to suppress the error messages for these two commands while reading pcf file.

@@ -57,12 +57,17 @@ int read_pcf(const char* fname, PcfData& pcf_data) {
pcf_data.set_io_pin(io_id, pin_name);
} else if (word[0] == COMMENT) { // if it's a comment
break; // or ignore the full line comment and move on
} else if (word.find("set_clk") == 0 || word.find("set_reset") == 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My suggestion is to add a new option --reduce_error_to_warning to the read_pcf command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants