counter.h

来自「Kluwer.Academic.Pub.Systemc.From.The.Gro」· C头文件 代码 · 共 24 行

H
24
字号
#ifndef counter_H#define counter_H//FILE: counter.h (systemc)//# vim600:set sw=2 tw=0 fdm=marker:// Module definitionSC_MODULE(counter) {  // Ports  sc_in<sc_uint<2> >  transact_ip;  sc_in<unsigned>    addr_ip;  sc_in<int>         data_in_ip;  sc_out<int>        data_out_op;  // Constructor declarations  counter(sc_module_name nm);  // Processe declarations  void counter_thread();  enum transaction {IDLE, READ, WRITE};};#endif//Portions COPYRIGHT (C) 2004 Eklectic Ally, Inc.------------------{{{//// Permission granted for anybody to use this template provided this  //// acknowledgement of Eklectic Ally, Inc. remains.                    ////-----------------------------------------------------------------}}}////END $Id: counter.h,v 1.2 2004/04/15 17:45:32 dcblack Exp $

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?