Skip to content

Commit 4aa9eee

Browse files
StephanvanSchaikwhitequark
authored andcommitted
arrow_deca: the assignments should be appended to what is originally in the QSF
1 parent 732406c commit 4aa9eee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nmigen_boards/arrow_deca.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ def file_templates(self):
6262
# file templates before modifying them to avoid modifying the original.
6363
return {
6464
**super().file_templates,
65-
"{{name}}.qsf": r"""
65+
"{{name}}.qsf":
66+
super().file_templates.get("{{name}}.qsf") +
67+
r"""
6668
set_global_assignment -name IOBANK_VCCIO 2.5V -section_id 1A
6769
set_global_assignment -name IOBANK_VCCIO 2.5V -section_id 1B
6870
set_global_assignment -name IOBANK_VCCIO 2.5V -section_id 2
@@ -77,7 +79,7 @@ def file_templates(self):
7779
set_global_assignment -name AUTO_RESTART_CONFIGURATION OFF
7880
set_global_assignment -name ENABLE_CONFIGURATION_PINS OFF
7981
set_global_assignment -name ENABLE_BOOT_SEL_PIN OFF
80-
"""
82+
"""
8183
}
8284

8385

0 commit comments

Comments
 (0)