display.h revision 12855
13170Sstever@eecs.umich.edu/***************************************************************************** 29383SAli.Saidi@ARM.com 39383SAli.Saidi@ARM.com Licensed to Accellera Systems Initiative Inc. (Accellera) under one or 49383SAli.Saidi@ARM.com more contributor license agreements. See the NOTICE file distributed 59383SAli.Saidi@ARM.com with this work for additional information regarding copyright ownership. 69383SAli.Saidi@ARM.com Accellera licenses this file to you under the Apache License, Version 2.0 79383SAli.Saidi@ARM.com (the "License"); you may not use this file except in compliance with the 89383SAli.Saidi@ARM.com License. You may obtain a copy of the License at 99383SAli.Saidi@ARM.com 109383SAli.Saidi@ARM.com http://www.apache.org/licenses/LICENSE-2.0 119383SAli.Saidi@ARM.com 129383SAli.Saidi@ARM.com Unless required by applicable law or agreed to in writing, software 139383SAli.Saidi@ARM.com distributed under the License is distributed on an "AS IS" BASIS, 145254Sksewell@umich.edu WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 155254Sksewell@umich.edu implied. See the License for the specific language governing 163170Sstever@eecs.umich.edu permissions and limitations under the License. 175254Sksewell@umich.edu 185254Sksewell@umich.edu *****************************************************************************/ 195254Sksewell@umich.edu 205254Sksewell@umich.edu/***************************************************************************** 215254Sksewell@umich.edu 225254Sksewell@umich.edu display.h -- 235254Sksewell@umich.edu 245254Sksewell@umich.edu Original Author: Rocco Jonack, Synopsys, Inc., 1999-07-30 255254Sksewell@umich.edu 265254Sksewell@umich.edu *****************************************************************************/ 273170Sstever@eecs.umich.edu 285254Sksewell@umich.edu/***************************************************************************** 295254Sksewell@umich.edu 305254Sksewell@umich.edu MODIFICATION LOG - modifiers, enter your name, affiliation, date and 315254Sksewell@umich.edu changes you are making here. 325254Sksewell@umich.edu 335254Sksewell@umich.edu Name, Affiliation, Date: 345254Sksewell@umich.edu Description of Modification: 355254Sksewell@umich.edu 365254Sksewell@umich.edu *****************************************************************************/ 375254Sksewell@umich.edu 385254Sksewell@umich.edu 393170Sstever@eecs.umich.edu#include "common.h" 405254Sksewell@umich.edu 413170Sstever@eecs.umich.eduSC_MODULE( display ) 423170Sstever@eecs.umich.edu{ 433170Sstever@eecs.umich.edu SC_HAS_PROCESS( display ); 443170Sstever@eecs.umich.edu 453170Sstever@eecs.umich.edu sc_in_clk clk; 463170Sstever@eecs.umich.edu 473170Sstever@eecs.umich.edu const sc_signal_bool_vector2& in_value1; // Input port 483170Sstever@eecs.umich.edu const sc_signal_bool_vector2& in_value2; // Input port 493170Sstever@eecs.umich.edu const sc_signal_bool_vector3& in_value3; // Input port 503170Sstever@eecs.umich.edu const sc_signal_bool_vector3& in_value4; // Input port 513170Sstever@eecs.umich.edu const sc_signal<bool>& in_valid; // Input port 526329Sgblack@eecs.umich.edu 5312334Sgabeblack@google.com // 544661Sksewell@umich.edu // Constructor 558232Snate@binkert.org // 569383SAli.Saidi@ARM.com 573170Sstever@eecs.umich.edu display( 583170Sstever@eecs.umich.edu sc_module_name NAME, // reference name 593170Sstever@eecs.umich.edu sc_clock& CLK, // clock 603170Sstever@eecs.umich.edu const sc_signal_bool_vector2& IN_VALUE1, 619383SAli.Saidi@ARM.com const sc_signal_bool_vector2& IN_VALUE2, 629383SAli.Saidi@ARM.com const sc_signal_bool_vector3& IN_VALUE3, 639383SAli.Saidi@ARM.com const sc_signal_bool_vector3& IN_VALUE4, 649383SAli.Saidi@ARM.com const sc_signal<bool>& IN_VALID 659383SAli.Saidi@ARM.com ) 669383SAli.Saidi@ARM.com : 679383SAli.Saidi@ARM.com in_value1 (IN_VALUE1), 689383SAli.Saidi@ARM.com in_value2 (IN_VALUE2), 6910574Sandreas.hansson@arm.com in_value3 (IN_VALUE3), 709383SAli.Saidi@ARM.com in_value4 (IN_VALUE4), 719383SAli.Saidi@ARM.com in_valid (IN_VALID) 729383SAli.Saidi@ARM.com { 739383SAli.Saidi@ARM.com clk (CLK); 749383SAli.Saidi@ARM.com SC_CTHREAD( entry, clk.pos() ); 756378Sgblack@eecs.umich.edu }; 763170Sstever@eecs.umich.edu 773170Sstever@eecs.umich.edu 7812749Sgiacomo.travaglini@arm.com void entry(); 793170Sstever@eecs.umich.edu}; 807783SGiacomo.Gabrielli@arm.com 817783SGiacomo.Gabrielli@arm.com// EOF 8211435Smitch.hayenga@arm.com