Mercurial > pygar
diff core/sim/bdir_dut/MemArb.bi @ 1:91a1f76ddd62 pygar svn.2
[svn r2] Adding initial lab 5 source
author | punk |
---|---|
date | Tue, 13 Apr 2010 17:34:33 -0400 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/core/sim/bdir_dut/MemArb.bi Tue Apr 13 17:34:33 2010 -0400 1.3 @@ -0,0 +1,61 @@ 1.4 +signature MemArb where { 1.5 +import ¶Assert®¶; 1.6 + 1.7 +import ¶Counter®¶; 1.8 + 1.9 +import ¶FIFOF_®¶; 1.10 + 1.11 +import ¶FIFOF®¶; 1.12 + 1.13 +import ¶FIFO®¶; 1.14 + 1.15 +import ¶Inout®¶; 1.16 + 1.17 +import ¶List®¶; 1.18 + 1.19 +import BFIFO; 1.20 + 1.21 +import ¶Clocks®¶; 1.22 + 1.23 +import ¶ListN®¶; 1.24 + 1.25 +import ¶PrimArray®¶; 1.26 + 1.27 +import ¶Vector®¶; 1.28 + 1.29 +import ¶Connectable®¶; 1.30 + 1.31 +import ¶GetPut®¶; 1.32 + 1.33 +import ¶ClientServer®¶; 1.34 + 1.35 +import Trace; 1.36 + 1.37 +import MemTypes; 1.38 + 1.39 +interface (MemArb.MemArb :: *) = { 1.40 + MemArb.cache0_server :: ¶ClientServer®¶.¶Server®¶ MemTypes.MainMemReq MemTypes.MainMemResp; 1.41 + MemArb.cache1_server :: ¶ClientServer®¶.¶Server®¶ MemTypes.MainMemReq MemTypes.MainMemResp; 1.42 + MemArb.mmem_client :: ¶ClientServer®¶.¶Client®¶ MemTypes.MainMemReq MemTypes.MainMemResp 1.43 +}; 1.44 + 1.45 +instance MemArb ¶Prelude®¶.¶PrimMakeUndefined®¶ MemArb.MemArb; 1.46 + 1.47 +instance MemArb ¶Prelude®¶.¶PrimDeepSeqCond®¶ MemArb.MemArb; 1.48 + 1.49 +instance MemArb ¶Prelude®¶.¶PrimMakeUninitialized®¶ MemArb.MemArb; 1.50 + 1.51 +data (MemArb.ReqPtr :: *) = MemArb.REQ0 () | MemArb.REQ1 (); 1.52 + 1.53 +instance MemArb ¶Prelude®¶.¶PrimMakeUndefined®¶ MemArb.ReqPtr; 1.54 + 1.55 +instance MemArb ¶Prelude®¶.¶PrimDeepSeqCond®¶ MemArb.ReqPtr; 1.56 + 1.57 +instance MemArb ¶Prelude®¶.¶PrimMakeUninitialized®¶ MemArb.ReqPtr; 1.58 + 1.59 +instance MemArb ¶Prelude®¶.¶Eq®¶ MemArb.ReqPtr; 1.60 + 1.61 +instance MemArb ¶Prelude®¶.¶Bits®¶ MemArb.ReqPtr 1; 1.62 + 1.63 +MemArb.mkMemArb :: (¶Prelude®¶.¶IsModule®¶ _m__ _c__) => _m__ MemArb.MemArb 1.64 +}