Skip to content

Commit 6bbd2dd

Browse files
slanwhitequark
authored andcommitted
arty_a7: add missing constraints
1 parent 6575dc4 commit 6bbd2dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nmigen_boards/arty_a7.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,11 @@ def toolchain_prepare(self, fragment, name, **kwargs):
204204
"write_cfgmem -force -format bin -interface spix4 -size 16 "
205205
"-loadbit \"up 0x0 {name}.bit\" -file {name}.bin".format(name=name),
206206
"add_constraints":
207-
"set_property INTERNAL_VREF 0.675 [get_iobanks 34]"
207+
"""
208+
set_property INTERNAL_VREF 0.675 [get_iobanks 34]
209+
set_property CFGBVS VCCO [current_design]
210+
set_property CONFIG_VOLTAGE 3.3 [current_design]
211+
"""
208212
}
209213
return super().toolchain_prepare(fragment, name, **overrides, **kwargs)
210214

0 commit comments

Comments
 (0)