comparison modules/bluespec/Pygar/core/audioCore.bsv @ 51:9fe5ed4af92d pygar svn.52

[svn r52] tested having multiple cores
author punk
date Wed, 05 May 2010 17:01:04 -0400
parents a139cc07b773
children cf8bb3038cbd
comparison
equal deleted inserted replaced
50:2b18894f75e2 51:9fe5ed4af92d
53 53
54 // interface CPUToHost tohost; 54 // interface CPUToHost tohost;
55 55
56 endinterface 56 endinterface
57 57
58 module [CONNECTED_MODULE] mkCore( Core ); 58 module [CONNECTED_MODULE] mkCore#(Integer prog) ( Core );
59 59
60 60
61 // Instantiate the modules 61 // Instantiate the modules
62 62
63 Proc proc <- mkProc(); 63 Proc proc <- mkProc();
64 ICache#(InstReq,InstResp) icache <- mkInstCache(); 64 ICache#(InstReq,InstResp) icache <- mkInstCache();
65 DCache#(DataReq,DataResp) dcache <- mkDataCache(); 65 DCache#(DataReq,DataResp) dcache <- mkDataCache();
66 MemArb marb <- mkMemArb(); 66 MemArb marb <- mkMemArb();
67 MEMORY_IFC#(Bit#(18), Bit#(32)) memory <- mkScratchpad(`VDEV_SCRATCH_MEMORY, SCRATCHPAD_CACHED); //Services Memory items 67 MEMORY_IFC#(Bit#(18), Bit#(32)) memory <- mkScratchpad(prog, SCRATCHPAD_CACHED); //Services Memory items
68 68
69 // Make this big enough so that several outstanding requests may be supported 69 // Make this big enough so that several outstanding requests may be supported
70 FIFO#(Bit#(MainMemTagSz)) tags <- mkSizedFIFO(8); 70 FIFO#(Bit#(MainMemTagSz)) tags <- mkSizedFIFO(8);
71 71
72 // Internal connections 72 // Internal connections