Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rlutz
Copy link
Contributor

@rlutz rlutz commented Sep 4, 2017

Since pull request #92 doesn't appear to make any progress, I'm creating a pull request for the next part of the icemulti changes without a test suite. This pull request introduces the getopt library for parsing command-line arguments, adds some missing error checks (for missing or empty input files and I/O errors) and provides more information with the existing error checks (program and file name).

@cliffordwolf
Copy link
Collaborator

Looks good to me.

@zeldin You wrote the original icemulti tool. Can you have a quick look at this PR and post a comment with your thoughts?

@cliffordwolf cliffordwolf self-assigned this Sep 4, 2017
@zeldin
Copy link
Contributor

zeldin commented Sep 5, 2017

Looks ok. getopt_long is not standard, but I guess it's common enough.

The one thing I'm a bit curious about is why the check if the number of images is zero was removed. Is there a point to creating a multi-image with zero images in it?

@cliffordwolf cliffordwolf merged commit 69613a2 into YosysHQ:master Sep 5, 2017
@rlutz rlutz deleted the icemulti-errorsargs branch September 13, 2017 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants