Mercurial > pygar
comparison 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 |
comparison
equal
deleted
inserted
replaced
40:7ac38b0f93fa | 41:16ba43f0a7c3 |
---|---|
118 endrule | 118 endrule |
119 */ | 119 */ |
120 rule feedInput; | 120 rule feedInput; |
121 let command <- server_stub.acceptRequest_SendUnprocessedStream(); | 121 let command <- server_stub.acceptRequest_SendUnprocessedStream(); |
122 AudioProcessorControl ctrl = unpack(truncate(command.ctrl)); | 122 AudioProcessorControl ctrl = unpack(truncate(command.ctrl)); |
123 if(ctrl == EndOfFile) | 123 |
124 Bit#(32) test = unpack(truncate(command.channel)); | |
125 $display("rlm: %x", test); | |
126 | |
127 | |
128 if(ctrl == EndOfFile) | |
124 begin | 129 begin |
125 $display("lsp: PROCESSOR received EOF "); | 130 $display("lsp: PROCESSOR received EOF "); |
126 core.sampleInput.put(tagged EndOfFile); | 131 core.sampleInput.put(tagged EndOfFile); |
127 end | 132 end |
128 else | 133 else |