Mercurial > pygar
comparison modules/bluespec/Pygar/core/audioCore.bsv @ 21:cffe0829ce14 pygar svn.22
[svn r22] compiles with memclient commented out
author | punk |
---|---|
date | Wed, 28 Apr 2010 00:21:02 -0400 |
parents | 9910c032f38d |
children | f5dfbe28fa59 |
comparison
equal
deleted
inserted
replaced
20:a346d9e5118a | 21:cffe0829ce14 |
---|---|
38 `include "asim/provides/instruction_cache.bsh" | 38 `include "asim/provides/instruction_cache.bsh" |
39 `include "asim/provides/data_cache.bsh" | 39 `include "asim/provides/data_cache.bsh" |
40 `include "asim/provides/processor.bsh" | 40 `include "asim/provides/processor.bsh" |
41 `include "asim/provides/audio_pipe_types.bsh" | 41 `include "asim/provides/audio_pipe_types.bsh" |
42 | 42 |
43 | 43 interface Core; |
44 | |
45 interface AudioCore; | |
46 | 44 |
47 // Interface from core to main memory | 45 // Interface from core to main memory |
48 interface Client#(MainMemReq,MainMemResp) mmem_client; | 46 interface Client#(MainMemReq,MainMemResp) mmem_client; |
49 | 47 |
50 interface Get#(AudioProcessorUnit) sampleOutput; | 48 interface Get#(AudioProcessorUnit) sampleOutput; |
51 | 49 |
52 endinterface | 50 endinterface |
53 | 51 |
54 module [CONNECTED_MODULE] mkCore( AudioCore ); | 52 module [CONNECTED_MODULE] mkCore( Core ); |
55 | 53 |
56 // Instantiate the modules | 54 // Instantiate the modules |
57 | 55 |
58 Proc proc <- mkProc(); | 56 Proc proc <- mkProc(); |
59 ICache#(InstReq,InstResp) icache <- mkInstCache(); | 57 ICache#(InstReq,InstResp) icache <- mkInstCache(); |
62 | 60 |
63 // Internal connections | 61 // Internal connections |
64 | 62 |
65 mkConnection( proc.statsEn_get, icache.statsEn_put ); | 63 mkConnection( proc.statsEn_get, icache.statsEn_put ); |
66 mkConnection( proc.statsEn_get, dcache.statsEn_put ); | 64 mkConnection( proc.statsEn_get, dcache.statsEn_put ); |
67 mkConnection( proc.imem_client, icache.proc_server ); | 65 // mkConnection( proc.imem_client, icache.proc_server ); |
68 mkConnection( proc.dmem_client, dcache.proc_server ); | 66 // mkConnection( proc.dmem_client, dcache.proc_server ); |
69 mkConnection( icache.mmem_client, marb.cache0_server ); | 67 mkConnection( icache.mmem_client, marb.cache0_server ); |
70 mkConnection( dcache.mmem_client, marb.cache1_server ); | 68 mkConnection( dcache.mmem_client, marb.cache1_server ); |
71 | 69 |
72 // Methods | 70 // Methods |
73 | 71 |