Mercurial > pygar
diff modules/bluespec/Pygar/core/audioCorePipeline.bsv @ 41:16ba43f0a7c3 pygar svn.42
[svn r42] got channels working
author | rlm |
---|---|
date | Tue, 04 May 2010 22:32:52 -0400 |
parents | 5a30f173bbac |
children | ced2ebd41347 |
line wrap: on
line diff
1.1 --- a/modules/bluespec/Pygar/core/audioCorePipeline.bsv Tue May 04 19:53:09 2010 -0400 1.2 +++ b/modules/bluespec/Pygar/core/audioCorePipeline.bsv Tue May 04 22:32:52 2010 -0400 1.3 @@ -120,7 +120,12 @@ 1.4 rule feedInput; 1.5 let command <- server_stub.acceptRequest_SendUnprocessedStream(); 1.6 AudioProcessorControl ctrl = unpack(truncate(command.ctrl)); 1.7 - if(ctrl == EndOfFile) 1.8 + 1.9 + Bit#(32) test = unpack(truncate(command.channel)); 1.10 + $display("rlm: %x", test); 1.11 + 1.12 + 1.13 + if(ctrl == EndOfFile) 1.14 begin 1.15 $display("lsp: PROCESSOR received EOF "); 1.16 core.sampleInput.put(tagged EndOfFile);