Add SYNTH_ECP5_FLAGS option for building
authorMichael Neuling <mikey@neuling.org>
Thu, 2 Jul 2020 04:36:14 +0000 (14:36 +1000)
committerMichael Neuling <mikey@neuling.org>
Thu, 2 Jul 2020 06:04:40 +0000 (16:04 +1000)
commitef0dcf3bc6380cd6c3454cac7ff881a7454a8281
tree587bbc542aa6c5557fd93abceea4c77d76ca5d48
parent45fd2354f2d238e2be4fa0a053fcb1f6a14d8e55
Add SYNTH_ECP5_FLAGS option for building

This is useful to specify "-noflatten" which helps CI stay under 8GB
limit.

Normally the AUTONAME stage of yosys will take around 10GB if
operating on the whole design. With -noflatten, AUTONAME occurs only
per VHDL entity, so only consumes around 3GB of memory. This gets us
under the limitations on github actions.

More discussion here:
  https://github.com/antonblanchard/microwatt/pull/209#issuecomment-652186078

Signed-off-by: Michael Neuling <mikey@neuling.org>
Makefile