Jump to content
scsc

sc_interface binding incorrectly

Recommended Posts

I modified an example (similar to SystemC's simple_fifo example) to have sc_interface to write/read stack. There is no error and can run. But the characters are all messed up. The display looks like this:

        SystemC 2.3.2-Accellera --- Nov  1 2018 16:37:26
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
binding    C1.port_0 to interface: class stack_read_if
binding    P1.port_0 to interface: class stack_write_if
╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠

Does it mean the sc_interface was not bound correctly? Can someone take a quick look and let me know the issue? This is on VIsual Studio 2015, if that matters. 

consumer.h

main.cpp

producer.h

stack_if.h

hierarchical_stack_channel.vcxproj

hierarchical_stack_channel.vcxproj.filters

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×