Skip to content

Pb graph bug fixes #2029

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

Merged
merged 3 commits into from
May 12, 2022
Merged

Pb graph bug fixes #2029

merged 3 commits into from
May 12, 2022

Conversation

amin1377
Copy link
Contributor

@amin1377 amin1377 commented May 10, 2022

1- .gitignore file is changed to accommodate the files generated by Clion IDE.

2- Other than the pb_types defined in xml file, another level of pb_type is added to the structure if the pb_type in the XML file uses a class.
Normal pb_types are initialized in "ProcessPb_Type" function in "libs/libarchfpga/src/read_xml_arch_file.cpp". However, the newly added pb_types are initialized in "alloc_and_load_default_child_for_pb_type" in "libs/libarchfpga/src/arch_util.cpp". Since they are initialized in two different functions, some pb_type members are missed in the second function.

3- Three members of t_physical_tile_type are not initialized properly. Each tile consists of, potentially, several types of sub_tiles. Each sub_tile has a capacity that is equal to the number of that sub_tile in the tile. In the current implementation, only the number of pins of one instance of a sub_tile is added to the corresponding member in tile data structure. There are two possible solutions for this problem: 1- change the name of num_pins to num_inst_pins 2- multiply the number of pins by the capacity of the sub_tile (In this PR, this solution is implemented)

@vaughnbetz

@github-actions github-actions bot added the libarchfpga Library for handling FPGA Architecture descriptions label May 10, 2022
@vaughnbetz
Copy link
Contributor

Lots of failures getting the required dependencies:
E: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/pool/main/g/gdb/gdb_10.2-0ubuntu1~18.04~2_amd64.deb Cannot initiate the connection to ppa.launchpad.net:80 (2001:67c:1560:8008::19). - connect (101: Network is unreachable) [IP: 91.189.95.85 80]

Can you relaunch @amin1377

@amin1377
Copy link
Contributor Author

amin1377 commented May 10, 2022

I re-launched the CI tests, and now it passes all tests. Link
@vaughnbetz

@vaughnbetz vaughnbetz merged commit c49f25f into master May 12, 2022
@vaughnbetz vaughnbetz deleted the pb_graph_bug_fixes branch May 12, 2022 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libarchfpga Library for handling FPGA Architecture descriptions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants