pku-dasys / pillars

An integrated CGRA design framework
MIT License
80 stars 13 forks source link

Is Gurobi necessary? #2

Open nicolast0604 opened 2 years ago

nicolast0604 commented 2 years ago

Is Gurobi necessary since it seems a commerical tool not open source? Any way to workaround it?

g478227411 commented 2 years ago

Gurobi is the ILP solver for our mapping algorithm. But only academic license of Gurobi can be acquired. If you don't need mapping, you can delete related codes (such as gurobiMapJava.java and ILPMap.scala) in src/main/scala/tetriski/pillars/mapping and other function calls (like ILPMap.mapping in Tutorial.scala) to compile successfully. In this situation, you can generate RTL codes or simulate with prepared mapping results. So we are developing a heuristic mapping method, and maybe it will be released later this year.

nicolast0604 commented 2 years ago

Thanks a lot for your information. I think you didi a great job to create CGRA in chisel. I will try what you suggested :)

g478227411 commented 1 year ago

We have developed a license-free mapping algorithm based on dynamic programming. You can use "git checkout license-free" to try this searching approach. The gurobi solver is not necessary in this branch.

Best Regards, Yijiang Guo