Closed aman26kbm closed 3 years ago
Thanks Aman. Yes, #1 definitely looks like a bug and should be fixed.
@sadegh68 Adding Sadegh in case he has a comment.
Thanks, Dr. Betz. I created a pull request: https://github.com/vaughnbetz/COFFE/pull/33
Closing this issue since a fix has been checked in for #1, and #2 was not something that needed to be fixed.
Hi Dr. Betz (@vaughnbetz ),
I see some discrepancy with the area and delay cost factors.
In coffe/hardblock_functions.py file, it seems like there is a mistake. The following line
lowest_cost = math.pow(float(total_area[0]), float(flow_settings['area_cost_exp'])) * math.pow(float(total_delay), float(flow_settings['**area_cost_exp**']))
should be:lowest_cost = math.pow(float(total_area[0]), float(flow_settings['area_cost_exp'])) * math.pow(float(total_delay), float(flow_settings['**delay_cost_exp**']))
This seems to be a copy-paste error, right? I can submit a PR for this.There are two places where area and delay cost factors can be specified. There are command line options for the tool overall:
And then there is a place to specify them for the hardblock standard cell flow in the hardblock settings file. Is that intentional? Is the idea that someone could want to have a different area/delay tradeoff inside the harblock, but a different tradeoff for the rest of the FPGA?
Thanks, Aman