comparison 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
comparison
equal deleted inserted replaced
14:ec9205107560 15:a1833d9f6e3d
42 interface Core; 42 interface Core;
43 43
44 // Interface from core to main memory 44 // Interface from core to main memory
45 interface Client#(MainMemReq,MainMemResp) mmem_client; 45 interface Client#(MainMemReq,MainMemResp) mmem_client;
46 46
47 interface CPUToHost tohost; 47 interface AudioOut audio;
48
49 interface AudioIn audio;
50 48
51 endinterface 49 endinterface
52 50
53 interface AudioIn; 51 interface AudioOut;
54 // interface Put#(AudioProcessorUnit) sampleInput; 52 // interface Put#(AudioProcessorUnit) sampleInput;
55 interface Get#(AudioProcessorUnit) sampleOutput; 53 interface Get#(AudioProcessorUnit) sampleOutput;
56 endinterface 54 endinterface
57 55
58 module [CONNECTED_MODULE] mkCore( Core ); 56 module [CONNECTED_MODULE] mkCore( Core );
75 73
76 // Methods 74 // Methods
77 75
78 interface mmem_client = marb.mmem_client; 76 interface mmem_client = marb.mmem_client;
79 77
80 interface CPUToHost tohost = proc.tohost; 78 interface AudioOut audio = proc.audioOut;
81
82 interface AudioIn audio = proc.audioIn;
83 79
84 endmodule 80 endmodule