diff modules/bluespec/Pygar/core/Processor.bsv @ 15:a1833d9f6e3d pygar svn.16

[svn r16] Recent
author punk
date Tue, 27 Apr 2010 13:11:45 -0400
parents 394aa40fd812
children 9910c032f38d
line wrap: on
line diff
     1.1 --- a/modules/bluespec/Pygar/core/Processor.bsv	Tue Apr 27 09:13:34 2010 -0400
     1.2 +++ b/modules/bluespec/Pygar/core/Processor.bsv	Tue Apr 27 13:11:45 2010 -0400
     1.3 @@ -48,7 +48,6 @@
     1.4  `include "asim/rrr/remote_server_stub_AUDIOCORERRR.bsh"
     1.5  `include "asim/provides/common_services.bsh"
     1.6  `include "asim/dict/STATS_PROCESSOR.bsh"
     1.7 -`include "asim/provides/audio_pipe_types.bsh"
     1.8  
     1.9  // Local includes. Look for the correspondingly named .awb files
    1.10  // workspace/labs/src/mit-6.375/modules/bluespec/mit-6.375/common/
    1.11 @@ -75,14 +74,14 @@
    1.12  //  interface CPUToHost tohost;
    1.13  
    1.14    // Interface to Audio Pipeline
    1.15 -  interface AudioOut audioOut;
    1.16 +  interface Get#(AudioProcessorUnit) sampleOutput;
    1.17  	
    1.18  endinterface
    1.19  
    1.20  //The full interface for this is as below in the common file for audioProcessorTypes.bsv
    1.21 -interface AudioOut;
    1.22 -  interface Get#(AudioProcessorUnit) audioSampleOutput;
    1.23 -endinterface
    1.24 +//interface AudioOut;
    1.25 +//  interface Get#(AudioProcessorUnit) audioSampleOutput;
    1.26 +//endinterface
    1.27  
    1.28  //interface AudioIn;
    1.29  //  interface Put#(AudioProcessorUnit) audioSampleInput;
    1.30 @@ -564,7 +563,7 @@
    1.31    rule handleCPUToHost;
    1.32     let req <- server_stub.acceptRequest_ReadCPUToHost();
    1.33      case (req)
    1.34 -    0: server_stub.sendResponse_ReadCPUToHost(cp0_tohost);
    1.35 +     0: server_stub.sendResponse_ReadCPUToHost(cp0_tohost);
    1.36       1: server_stub.sendResponse_ReadCPUToHost(pc);
    1.37       2: server_stub.sendResponse_ReadCPUToHost(zeroExtend(pack(stage)));
    1.38      endcase
    1.39 @@ -619,8 +618,8 @@
    1.40  //    endmethod
    1.41  //  endinterface
    1.42       
    1.43 -  interface AudioOut audio;
    1.44 -     interface audioSampleOutput = fifoToGet(outAudioFifo);
    1.45 +  interface Get sampleOutput;
    1.46 +     interface sampleOutput = fifoToGet(outAudioFifo);
    1.47    endinterface
    1.48  
    1.49