Skip to content

Commit

Permalink
use n_boards_required for size of virtual board
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Apr 12, 2024
1 parent 14631d1 commit c25a431
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions unittests/test_sata_connectors/spynnaker.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
machine_spec_file = None

machineName = None
version = None
version = 5

remote_spinnaker_url = None

Expand All @@ -14,8 +14,6 @@ virtual_board = True
down_cores = None
down_chips = None
down_links = 2,5,2:2,5,3:6,1,2:6,1,3:10,9,2:10,9,3
width = 12
height = 12

[Mode]
# mode = Production or Debug
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

def do_run():
# Setup
p.setup(timestep=1.0)
p.setup(timestep=1.0, n_boards_required=3)

src_1 = p.Population(
None,
Expand Down
4 changes: 1 addition & 3 deletions unittests/test_spinnaker_link_connectors/spynnaker.cfg
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Machine]
spalloc_server = None
machineName = None
version = None
version = 5
virtual_board = True
down_cores = None
down_chips = None
down_links = 0,0,4:4,8,4:8,4,4
width = 12
height = 12

[Mode]
# mode = Production or Debug
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

def do_run():
# Setup
p.setup(timestep=1.0)
p.setup(timestep=1.0, n_boards_required=3)

# FPGA Retina
retina_device = p.external_devices.ExternalFPGARetinaDevice
Expand Down

0 comments on commit c25a431

Please sign in to comment.