⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 counter.h

📁 Kluwer.Academic.Pub.Systemc.From.The.Ground.Up-此全书的范例程式。
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -