fpu test cleaning

This commit is contained in:
Dolu1990 2021-02-22 19:27:55 +01:00
parent b1f4c06d4e
commit 47673863fb
1 changed files with 2 additions and 2 deletions

View File

@ -55,11 +55,11 @@ class FpuTest extends FunSuite{
}
def testP(p : FpuParameter){
val portCount = 1
val portCount = 4
val config = SimConfig
config.allOptimisation
if(p.withDouble) config.withFstWave
// if(p.withDouble) config.withFstWave
config.compile(new FpuCore(portCount, p){
for(i <- 0 until portCount) out(Bits(5 bits)).setName(s"flagAcc$i") := io.port(i).completion.flags.asBits
setDefinitionName("FpuCore"+ (if(p.withDouble) "Double" else ""))