Allow for multiple synthesis directives in specials.
authorSergiusz Bazanski <q3k@q3k.org>
Tue, 23 Jan 2018 00:23:20 +0000 (00:23 +0000)
committerSergiusz Bazanski <q3k@q3k.org>
Tue, 23 Jan 2018 00:27:49 +0000 (00:27 +0000)
commit21bd26dcdd68285bfbf9d78618002c674c56f734
tree0ddddfb1e199b387dcab17a84b28b4c4e7a62029
parent67f8718b26b0efdbabb57e1e76cd4fae4fe08268
Allow for multiple synthesis directives in specials.

This is needed to specify timing constraints on some Lattice Diamond
library specials, like the EHXPLLL.

To keep backwards compatibility we allow the directive to still be a
single string. If it's not, we assume it's an iterable.
litex/gen/fhdl/specials.py