Deleted Added
sdiff udiff text old ( 11111:6da33e720481 ) new ( 13062:6f9defe1c11e )
full compact
1# Copyright (c) 2015 Mark D. Hill and David A. Wood.
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 23 unchanged lines hidden (view full) ---

32
33class MessageBuffer(SimObject):
34 type = 'MessageBuffer'
35 cxx_class = 'MessageBuffer'
36 cxx_header = "mem/ruby/network/MessageBuffer.hh"
37 ordered = Param.Bool(False, "Whether the buffer is ordered")
38 buffer_size = Param.Unsigned(0, "Maximum number of entries to buffer \
39 (0 allows infinite entries)")
40 randomization = Param.Bool(False, "")
41
42 master = MasterPort("Master port to MessageBuffer receiver")
43 slave = SlavePort("Slave port from MessageBuffer sender")