summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemc/ext/channel/sc_buffer.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemc/ext/channel/sc_buffer.hh b/src/systemc/ext/channel/sc_buffer.hh
index 153b60b10..22081605e 100644
--- a/src/systemc/ext/channel/sc_buffer.hh
+++ b/src/systemc/ext/channel/sc_buffer.hh
@@ -37,7 +37,9 @@
namespace sc_core
{
-template <class T, sc_writer_policy WRITER_POLICY>
+// Having a default value for the WRITER_POLICY parameter is non-standard, but
+// matches the Accellera implementation to enable the regression tests.
+template <class T, sc_writer_policy WRITER_POLICY=SC_ONE_WRITER>
class sc_buffer : public sc_signal<T, WRITER_POLICY>
{
public: