byuccl / bfasst

Tools for FPGA Assurance Flows
Apache License 2.0
12 stars 4 forks source link

Added a caching mechanism for the possible_matches dict #491

Closed yonnorc42 closed 1 week ago

yonnorc42 commented 2 weeks ago

For the larger designs like jpegencode, a lot of the runtime is spent initializing the list of possible matches for each primitive based on cell type and properties. This pr creates a caching mechanism which rebuilds the dict based on the instance names. For jpegencode, this brought the runtime down by 29 minutes. This only works if you don't change the design at all in between runs.

yonnorc42 commented 2 weeks ago

This is broken right now

yonnorc42 commented 2 weeks ago

This works now

yonnorc42 commented 1 week ago

Uh that was on accident