display.h revision 12855:588919e0e4aa
11736SN/A/*****************************************************************************
27778Sgblack@eecs.umich.edu
31736SN/A  Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
41736SN/A  more contributor license agreements.  See the NOTICE file distributed
51736SN/A  with this work for additional information regarding copyright ownership.
61736SN/A  Accellera licenses this file to you under the Apache License, Version 2.0
71736SN/A  (the "License"); you may not use this file except in compliance with the
81736SN/A  License.  You may obtain a copy of the License at
91736SN/A
101736SN/A    http://www.apache.org/licenses/LICENSE-2.0
111736SN/A
121736SN/A  Unless required by applicable law or agreed to in writing, software
131736SN/A  distributed under the License is distributed on an "AS IS" BASIS,
141736SN/A  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
151736SN/A  implied.  See the License for the specific language governing
161736SN/A  permissions and limitations under the License.
171736SN/A
181736SN/A *****************************************************************************/
191736SN/A
201736SN/A/*****************************************************************************
211736SN/A
221736SN/A  display.h --
231736SN/A
241736SN/A  Original Author: Rocco Jonack, Synopsys, Inc., 1999-07-30
251736SN/A
261736SN/A *****************************************************************************/
272665SN/A
282665SN/A/*****************************************************************************
297778Sgblack@eecs.umich.edu
301736SN/A  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
3113719Sandreas.sandberg@arm.com  changes you are making here.
3213719Sandreas.sandberg@arm.com
3313719Sandreas.sandberg@arm.com      Name, Affiliation, Date:
3413719Sandreas.sandberg@arm.com  Description of Modification:
351519SN/A
3612247Sgabeblack@google.com *****************************************************************************/
3712247Sgabeblack@google.com
3812247Sgabeblack@google.com
3912247Sgabeblack@google.com#include "common.h"
4012247Sgabeblack@google.com
4112247Sgabeblack@google.comSC_MODULE( display )
4212247Sgabeblack@google.com{
4312247Sgabeblack@google.com  SC_HAS_PROCESS( display );
4412247Sgabeblack@google.com
4512247Sgabeblack@google.com  sc_in_clk clk;
4612247Sgabeblack@google.com
4712247Sgabeblack@google.com  const sc_signal_bool_vector4&      in_data1;     // Input  port
481519SN/A  const sc_signal_bool_vector4&      in_data2;     // Input  port
491519SN/A  const sc_signal_bool_vector6&      in_data3;     // Input  port
501519SN/A  const sc_signal_bool_vector6&      in_data4;     // Input  port
511519SN/A  const sc_signal_bool_vector8&      in_data5;     // Input  port
521519SN/A  const sc_signal_bool_vector8&      in_data6;     // Input  port
531519SN/A  const sc_signal<bool>& in_valid;
541519SN/A
551519SN/A  display( sc_module_name   NAME,
561519SN/A	   sc_clock&        CLK,
571519SN/A	   const  sc_signal_bool_vector4&      IN_DATA1,
5812247Sgabeblack@google.com	   const  sc_signal_bool_vector4&      IN_DATA2,
5912247Sgabeblack@google.com	   const  sc_signal_bool_vector6&      IN_DATA3,
6012247Sgabeblack@google.com	   const  sc_signal_bool_vector6&      IN_DATA4,
6112247Sgabeblack@google.com	   const  sc_signal_bool_vector8&      IN_DATA5,
6212247Sgabeblack@google.com	   const  sc_signal_bool_vector8&      IN_DATA6,
6312247Sgabeblack@google.com           const sc_signal<bool>&              IN_VALID
6412247Sgabeblack@google.com	   )
6512247Sgabeblack@google.com  :
6612247Sgabeblack@google.com    in_data1(IN_DATA1),
6712247Sgabeblack@google.com    in_data2(IN_DATA2),
6812247Sgabeblack@google.com    in_data3(IN_DATA3),
6912247Sgabeblack@google.com    in_data4(IN_DATA4),
7012247Sgabeblack@google.com    in_data5(IN_DATA5),
7112247Sgabeblack@google.com    in_data6(IN_DATA6),
7212247Sgabeblack@google.com    in_valid(IN_VALID)
7312247Sgabeblack@google.com  {
7412247Sgabeblack@google.com    clk(CLK);
7512247Sgabeblack@google.com	SC_CTHREAD( entry, clk.pos() );
7612247Sgabeblack@google.com  }
7712247Sgabeblack@google.com
7812247Sgabeblack@google.com  void entry();
7912247Sgabeblack@google.com};
8012247Sgabeblack@google.com
8112247Sgabeblack@google.com// EOF
8212247Sgabeblack@google.com