byuccl / bfasst

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

added caching mechanism #492

Open yonnorc42 opened 1 week ago

yonnorc42 commented 1 week 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.

yonnorc42 commented 1 week ago

The caching messes up error injection because normally error injection will catch flipped bits during the initialization of the possible matches.