vaughnbetz / COFFE

38 stars 25 forks source link

CB/SB Static Depopulation as FN of L #62

Open faaiqgwaqar opened 2 weeks ago

faaiqgwaqar commented 2 weeks ago

In COFFE/coffe/vpr.py lines 136-137 and 712-713, SB/CB connectivity is statically encoded despite variable L, which causes issues in VPR. Simple fix would be to auto populate the pattern based on the length

faaiqgwaqar commented 2 weeks ago

An example: vpr_file.write(" <cb type=\"pattern\">1 1 1 1\n") -> vpr_file.write(" <cb type=\"pattern\">{}\n".format(' '.join['1'] * L))

StephenMoreOSU commented 1 week ago

Thanks for the input, your fix makes sense to me. Will get it in when I get the chance