Mercurial > pygar
diff modules/bluespec/Pygar/core/audioCore.bsv @ 15:a1833d9f6e3d pygar svn.16
[svn r16] Recent
author | punk |
---|---|
date | Tue, 27 Apr 2010 13:11:45 -0400 |
parents | 6d461680c6d9 |
children | 9910c032f38d |
line wrap: on
line diff
1.1 --- a/modules/bluespec/Pygar/core/audioCore.bsv Tue Apr 27 09:13:34 2010 -0400 1.2 +++ b/modules/bluespec/Pygar/core/audioCore.bsv Tue Apr 27 13:11:45 2010 -0400 1.3 @@ -38,21 +38,18 @@ 1.4 `include "asim/provides/instruction_cache.bsh" 1.5 `include "asim/provides/data_cache.bsh" 1.6 `include "asim/provides/processor.bsh" 1.7 +`include "asim/provides/audio_pipe_types.bsh" 1.8 + 1.9 1.10 interface Core; 1.11 1.12 // Interface from core to main memory 1.13 interface Client#(MainMemReq,MainMemResp) mmem_client; 1.14 1.15 - interface AudioOut audio; 1.16 - 1.17 + interface Get#(AudioProcessorUnit) sampleOutput; 1.18 + 1.19 endinterface 1.20 1.21 -interface AudioOut; 1.22 - // interface Put#(AudioProcessorUnit) sampleInput; 1.23 - interface Get#(AudioProcessorUnit) sampleOutput; 1.24 -endinterface 1.25 - 1.26 module [CONNECTED_MODULE] mkCore( Core ); 1.27 1.28 // Instantiate the modules 1.29 @@ -74,7 +71,10 @@ 1.30 // Methods 1.31 1.32 interface mmem_client = marb.mmem_client; 1.33 - 1.34 - interface AudioOut audio = proc.audioOut; 1.35 + 1.36 + interface sampleOutput = proc.sampleOutput; 1.37 + // interface sampleOutput = proc.audioOut; 1.38 + // interface AudioOut audio = proc.audioOut; 1.39 + 1.40 1.41 endmodule