From 1d3ac7830bcf19cb91789a64336e63cf39239285 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Fri, 17 Aug 2018 19:33:41 +0200 Subject: [PATCH] restore tests without CSR catch all --- src/test/scala/vexriscv/TestIndividualFeatures.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/scala/vexriscv/TestIndividualFeatures.scala b/src/test/scala/vexriscv/TestIndividualFeatures.scala index 9bb8045..bf837a5 100644 --- a/src/test/scala/vexriscv/TestIndividualFeatures.scala +++ b/src/test/scala/vexriscv/TestIndividualFeatures.scala @@ -462,7 +462,7 @@ class TestIndividualFeatures extends FunSuite { new HazardDimension, new RegFileDimension, new SrcDimension, - new CsrDimension(sys.env.getOrElse("VEXRISCV_REGRESSION_FREERTOS_COUNT", "4")), + new CsrDimension(sys.env.getOrElse("VEXRISCV_REGRESSION_FREERTOS_COUNT", "4")), new DecoderDimension, new DebugDimension ) @@ -534,7 +534,7 @@ class TestIndividualFeatures extends FunSuite { println(s"Seed=$seed") for(i <- 0 until sys.env.getOrElse("VEXRISCV_REGRESSION_CONFIG_COUNT", "100").toInt){ var positions : List[VexRiscvPosition] = null - val universe = VexRiscvUniverse.universes.filter(e => rand.nextBoolean()) :+ VexRiscvUniverse.CATCH_ALL //TODO + val universe = VexRiscvUniverse.universes.filter(e => rand.nextBoolean()) do{ positions = dimensions.map(d => d.randomPosition(universe, rand))