diff modules/bluespec/Pygar/core/audioCorePipeline.bsv @ 37:0475235d1513 pygar svn.38

[svn r38] fixed audiocorepipe
author punk
date Tue, 04 May 2010 19:25:30 -0400
parents 99519a031813
children 05598d745f99
line wrap: on
line diff
     1.1 --- a/modules/bluespec/Pygar/core/audioCorePipeline.bsv	Tue May 04 18:54:54 2010 -0400
     1.2 +++ b/modules/bluespec/Pygar/core/audioCorePipeline.bsv	Tue May 04 19:25:30 2010 -0400
     1.3 @@ -107,6 +107,16 @@
     1.4  
     1.5     //*****  SERVER Side  *****
     1.6  
     1.7 +   (* conservative_implicit_conditions *)
     1.8 +  rule handleCPUToHost;
     1.9 +   let req <- server_stub.acceptRequest_ReadCPUToHost();
    1.10 +    case (req)
    1.11 +     0: server_stub.sendResponse_ReadCPUToHost(cp0_tohost);
    1.12 +     1: server_stub.sendResponse_ReadCPUToHost(pc);
    1.13 +     2: server_stub.sendResponse_ReadCPUToHost(zeroExtend(pack(stage)));
    1.14 +    endcase
    1.15 +  endrule
    1.16 +   
    1.17     rule feedInput;
    1.18       let command <- server_stub.acceptRequest_SendUnprocessedStream();
    1.19       AudioProcessorControl ctrl = unpack(truncate(command.ctrl));