comparison modules/bluespec/Pygar/core/Processor.bsv @ 35:14f7a7ace3f5 pygar svn.36

[svn r36] created test wav files
author rlm
date Tue, 04 May 2010 12:14:24 -0400
parents 2c8166d205d5
children 99519a031813
comparison
equal deleted inserted replaced
34:1a21b4cd85ee 35:14f7a7ace3f5
269 FIFO#(AudioProcessorUnit) inAudioFifo <- mkFIFO; 269 FIFO#(AudioProcessorUnit) inAudioFifo <- mkFIFO;
270 FIFO#(AudioProcessorUnit) outAudioFifo <- mkFIFO; 270 FIFO#(AudioProcessorUnit) outAudioFifo <- mkFIFO;
271 271
272 272
273 // Statistics state (2010) 273 // Statistics state (2010)
274 // Reg#(Stat) num_cycles <- mkReg(0); 274 // Reg#(Stat) num_cycles <- mkReg(0);
275 // Reg#(Stat) num_inst <- mkReg(0); 275 // Reg#(Stat) num_inst <- mkReg(0);
276 276
277 //Or: 277 //Or:
278 // Statistics state 278 // Statistics state
279 STAT num_cycles <- mkStatCounter(`STATS_PROCESSOR_CYCLE_COUNT); 279 STAT num_cycles <- mkStatCounter(`STATS_PROCESSOR_CYCLE_COUNT);
280 STAT num_inst <- mkStatCounter(`STATS_PROCESSOR_INST_COUNT); 280 STAT num_inst <- mkStatCounter(`STATS_PROCESSOR_INST_COUNT);