代码搜索:SystemC
找到约 1,802 项符合「SystemC」的源代码
代码结果 1,802
www.eeworm.com/read/436550/7767963
h slow_mem.h
//By ChenXi
#ifndef __slow_mem_h
#define __slow_mem_h
#include
#include "types.h"
#include "slave_if.h"
class slow_mem
: public slave_if
, public sc_module
{
public:
// po
www.eeworm.com/read/434384/7869443
bak lp1.h.bak
#include "systemc-ams.h"
//#include "math.h"
SCA_SDF_MODULE(lp1) {
sca_sdf_in in;
sca_sdf_out out;
double fp; // pole frequency
double h0; // DC gain
www.eeworm.com/read/434384/7869446
h lp1.h
#include "systemc-ams.h"
//#include "math.h"
SCA_SDF_MODULE(lp1) {
sca_sdf_in in;
sca_sdf_out out;
double fp; // pole frequency
double h0; // DC gain
www.eeworm.com/read/434384/7869452
cpp tb_vco.cpp
#include "systemc-ams.h"
#include "vco.h"
SCA_SDF_MODULE(src_ctrl) {
sca_sdf_out out;
void init () {
out.write(0.0);
}
void sig_proc() {
double now = sc_
www.eeworm.com/read/434384/7869455
bak tb_vco.cpp.bak
#include "systemc-ams.h"
#include "vco.h"
SCA_SDF_MODULE(src_ctrl) {
sca_sdf_out out;
void init () {
out.write(0.0);
}
void sig_proc() {
double now = sc_
www.eeworm.com/read/141708/5769175
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/141708/5769184
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/174206/5363382
cpp top.cpp
#include "systemc.h"
#include "sc_mslib.h"
// test the port to port reflection of refined ports
typedef sc_inslave input_port;
typedef sc_link_mp binding_link
www.eeworm.com/read/174206/5363391
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/174206/5363409
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