Created
August 8, 2023 00:04
-
-
Save bl0x/9d368679244dbb6463d2f5c6b7ace3ed to your computer and use it in GitHub Desktop.
extract relevant part information from gowin ide device_info.csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk -F, '{print " [\""$2"\", \""$4"\"],"}' \ | |
~/opt/gowin/IDE/share/device/device_info.csv \ | |
| sort | cat <(echo "parts = [") - <(echo "]") > parts.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment