代码搜索:SystemC
找到约 1,802 项符合「SystemC」的源代码
代码结果 1,802
www.eeworm.com/read/174206/5363418
h disp.h
#include "systemc.h"
SC_MODULE(disp)
{
// ports
sc_inslave din;
sc_in_clk clk;
sc_in rstp;
int myData;
void disp_thread ()
{
while (
www.eeworm.com/read/346982/3179031
cpp top.cpp
#include "systemc.h"
#include "sc_mslib.h"
typedef int data_type;
SC_MODULE(mod1) {
// input port, unrefinable, for stimulus
sc_in a;
// Refinable port
sc_outmaster
www.eeworm.com/read/346982/3179040
h disp.h
#include "systemc.h"
SC_MODULE(disp)
{
// ports
sc_inslave din;
sc_in_clk clk;
sc_in rstp;
int myData;
void disp_thread ()
{
while (
www.eeworm.com/read/471378/6891999
h monitor.h
#ifndef MONITOR_H
#define MONITOR_H
#include
#include
using std::ofstream;
SC_MODULE(Monitor) {
sc_in lights; // 4 bits stand for 4 lights, 0 means red, 1 means green
www.eeworm.com/read/178299/9408929
cc boucle_flt.cc
// boucle.cc
// Pierre Bomel - LESTER/UBS - janvier 2005
// Formation chez France Telecom R&D
#include
#include "gen.h"
#include "sense.h"
#include "pack.h"
#include "unpack.h"
#include
www.eeworm.com/read/436550/7767968
h test.h
#ifndef __test_h
#define __test_h
#include
#include "master_blocking.h"
#include "master_non_blocking.h"
#include "master_direct.h"
#include "slow_mem.h"
#include "bus.h"
#in
www.eeworm.com/read/436550/7767978
h master_direct.h
#ifndef __master_direct_h
#define __master_direct_h
#include
#include "direct_if.h"
SC_MODULE(master_direct)
{
// ports
sc_in_clk clock;
sc_port bus_port;
www.eeworm.com/read/141708/5769189
cpp top.cpp
#include "systemc.h"
#include "sc_mslib.h"
typedef int data_type;
int state=0;
bool bWrite=true;
SC_MODULE(testbench) {
sc_in_clk driver;
sc_signal signal;
void r
www.eeworm.com/read/478219/6722033
h uart.h
#include "systemc.h"
#include "uart_if.h"
#include "uart_trx_if.h"
#include "../pserial/send_module.h"
#include "stdio.h"
#include "../pserial/uart_gloabl_var.h"
class uart
: public uart_if
, public u
www.eeworm.com/read/255779/12056451
h ekeyfsm.h
#ifndef EKEYFSM_H
#define EKEYFSM_H
#include
SC_MODULE(ekeyfsm) {
sc_in clk;
sc_in ld_key;
sc_in resetn;
sc_out busy;
sc_