Skip to content

Commit

Permalink
verilator: Fix build without setup
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Jun 19, 2019
1 parent 57fb0d4 commit 520cc83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions edalize/verilator.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ def _write_config_files(self):

def build_main(self):
logger.info("Building simulation model")
if not 'mode' in self.tool_options:
self.tool_options['mode'] = 'cc'

# Do parallel builds with <number of cpus> * 2 jobs.
make_job_count = multiprocessing.cpu_count() * 2
Expand Down

0 comments on commit 520cc83

Please sign in to comment.