ARC: west: mdb runner: support 12 cores targets

Bump number of cores limit in mdb west runner.
As we are here - adjust core number in runner test closer to
the limit.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
diff --git a/scripts/west_commands/runners/mdb.py b/scripts/west_commands/runners/mdb.py
index 3a74109..656d416 100644
--- a/scripts/west_commands/runners/mdb.py
+++ b/scripts/west_commands/runners/mdb.py
@@ -72,7 +72,7 @@
     if mdb_runner.cores == 1:
         # single core's mdb command is different with multicores
         mdb_cmd = [commander] + mdb_basic_options + mdb_target + mdb_run + [mdb_runner.elf_name]
-    elif 1 < mdb_runner.cores <= 4:
+    elif 1 < mdb_runner.cores <= 12:
         mdb_multifiles = '-multifiles='
         for i in range(mdb_runner.cores):
             mdb_sub_cmd = [commander] + ['-pset={}'.format(i + 1), '-psetname=core{}'.format(i)]
diff --git a/scripts/west_commands/tests/test_mdb.py b/scripts/west_commands/tests/test_mdb.py
index a6690f4..ca07b5d 100644
--- a/scripts/west_commands/tests/test_mdb.py
+++ b/scripts/west_commands/tests/test_mdb.py
@@ -92,8 +92,8 @@
         'i': ['--jtag=test_debug', '--cores=1'],
         'e': "unsupported jtag adapter test_debug"
     },{
-        'i': ['--jtag=digilent', '--cores=16'],
-        'e': "unsupported cores 16"
+        'i': ['--jtag=digilent', '--cores=13'],
+        'e': "unsupported cores 13"
     }]
 
 TEST_HW_DEBUG_CASES = [
@@ -116,8 +116,8 @@
         'i': ['--jtag=test_debug', '--cores=1'],
         'e': "unsupported jtag adapter test_debug"
     }, {
-        'i': ['--jtag=digilent', '--cores=16'],
-        'e': "unsupported cores 16"
+        'i': ['--jtag=digilent', '--cores=13'],
+        'e': "unsupported cores 13"
     }]
 
 TEST_HW_MULTICORE_CASES = [['--jtag=digilent', '--cores=2']]