cambridgehackers / connectal

Connectal is a framework for software-driven hardware development.
MIT License
159 stars 46 forks source link

Fix bluesim compiling error when using open-source bsc #170

Closed kurocatus closed 4 years ago

kurocatus commented 4 years ago

Since the command for quering bluespec compiler version in scripts/Makefile.connectal.build cannot return the correct result for the open-source bsc (BSCVERSION, BSCMAJOR all empty string) as of now, the modified Makefile simply treats empty BSCVERSION as an indication of open-source bsc being used. A bluespec compiler with BSCMAJOR <= 2019 is treated as obsolete. Is this assumption reasonable?