Skip to content

Commit

Permalink
virtual machine always have a monitor!
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 29, 2019
1 parent f5f111c commit f84d4c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -924,10 +924,6 @@
<param_name>version</param_name>
<param_type>BoardVersion</param_type>
</parameter>
<parameter>
<param_name>with_monitors</param_name>
<param_type>VirtualChipsHaveMonitor</param_type>
</parameter>
<parameter>
<param_name>down_chips</param_name>
<param_type>DownedChipsDetails</param_type>
Expand Down Expand Up @@ -958,7 +954,6 @@
<param_name>height</param_name>
<param_name>virtual_has_wrap_arounds</param_name>
<param_name>version</param_name>
<param_name>with_monitors</param_name>
<param_name>down_chips</param_name>
<param_name>down_cores</param_name>
<param_name>down_links</param_name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class VirtualMachineGenerator(object):

def __call__(
self, width=None, height=None, virtual_has_wrap_arounds=None,
version=None,
with_monitors=True, down_chips=None, down_cores=None,
version=None, down_chips=None, down_cores=None,
down_links=None, max_sdram_size=None,
router_entries_per_chip=Router.ROUTER_DEFAULT_AVAILABLE_ENTRIES,
json_path=None):
Expand All @@ -52,9 +51,8 @@ def __call__(
width=width, height=height,
with_wrap_arounds=virtual_has_wrap_arounds,
version=version, n_cpus_per_chip=Machine.max_cores_per_chip(),
with_monitors=with_monitors, down_chips=down_chips,
down_cores=down_cores, down_links=down_links,
sdram_per_chip=max_sdram_size,
down_chips=down_chips, down_cores=down_cores,
down_links=down_links, sdram_per_chip=max_sdram_size,
router_entries_per_chip=router_entries_per_chip, validate=True)
else:
if (height is not None or width is not None or
Expand Down

0 comments on commit f84d4c0

Please sign in to comment.