# HG changeset patch # User punk # Date 1273015945 14400 # Node ID 5a30f173bbac8fc8953926cebec6f3336d421217 # Parent 05598d745f99e12a58866797142b791c9cd41cad [svn r40] no longer cpu terminating dependent diff -r 05598d745f99 -r 5a30f173bbac modules/bluespec/Pygar/core/AudioCoreSystem.cpp --- a/modules/bluespec/Pygar/core/AudioCoreSystem.cpp Tue May 04 19:27:38 2010 -0400 +++ b/modules/bluespec/Pygar/core/AudioCoreSystem.cpp Tue May 04 19:32:25 2010 -0400 @@ -104,7 +104,7 @@ //rlm: here we read both files. later refactor into a function. // also, this will terminate when the FIRST file reaches its end. while( fread(&sample, 2, 1, inputFile)) //&& (fread(&sample1, 2 , 1, inputFile1))) - { + { /* printf("hi\n"); if (!coreFin && (result = clientStub->ReadCPUToHost(0)) != 1) { @@ -123,6 +123,7 @@ printf("\n***SOFT_CORE PASSED***\n"); coreFin = true; } + */ if(count%1000 == 0) printf("main: %d\n", count); diff -r 05598d745f99 -r 5a30f173bbac modules/bluespec/Pygar/core/audioCorePipeline.bsv --- a/modules/bluespec/Pygar/core/audioCorePipeline.bsv Tue May 04 19:27:38 2010 -0400 +++ b/modules/bluespec/Pygar/core/audioCorePipeline.bsv Tue May 04 19:32:25 2010 -0400 @@ -50,6 +50,8 @@ Core core <- mkCore; Reg#(int) cycle <- mkReg(0); +// Reg#(Bit#(32)) ac_fini <- mkReg(0); + //External memory // I'm not comfortable assuming that the memory subsystem is in order // So I'll insert a completion buffer here. @@ -107,14 +109,14 @@ //***** SERVER Side ***** - (* conservative_implicit_conditions *) +/* (* conservative_implicit_conditions *) rule handleCPUToHost; let req <- server_stub.acceptRequest_ReadCPUToHost(); case (req) 0: server_stub.sendResponse_ReadCPUToHost(cp0_tohost); endcase endrule - +*/ rule feedInput; let command <- server_stub.acceptRequest_SendUnprocessedStream(); AudioProcessorControl ctrl = unpack(truncate(command.ctrl));