C++ SystemC-正在构建但未运行

C++ SystemC-正在构建但未运行,c++,hdl,systemc,C++,Hdl,Systemc,我最近开始学习systemC,在模拟我编写的FIFO模块时遇到了一个问题。代码实际上编译时没有任何错误/警告,但是当我运行模拟时,我没有得到预期的输出。我已经上传了代码 对于调试,在顶层,在sc_start()之前我写了下面这行代码,以确保模拟运行到该点 std::cout<< "Top:Simulation Started" <<std::endl; std::cout std::cout<< "Source:Simulation Started" <

我最近开始学习systemC,在模拟我编写的FIFO模块时遇到了一个问题。代码实际上编译时没有任何错误/警告,但是当我运行模拟时,我没有得到预期的输出。我已经上传了代码

对于调试,在顶层,在
sc_start()之前我写了下面这行代码,以确保模拟运行到该点

std::cout<< "Top:Simulation Started" <<std::endl;
std::cout
std::cout<< "Source:Simulation Started" <<std::endl;