Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is this error in SystemC code

Status
Not open for further replies.

tutx

Full Member level 2
Joined
Mar 4, 2004
Messages
120
Helped
13
Reputation
26
Reaction score
1
Trophy points
1,298
Activity points
884
error e112 systemc

I tried to implement an example "2-to-4 decoder". And then, I wrote 3 other module to test this decoder. They are a generator module which will provide test data for the decoder, a monitor module which will get all of information about the outputs of the decoder, and the last module is the sc_main() module.

I compiled these codes and didn't have any error and any warning statement. It seems do not have any error but there is a problem when I tried to run the executable file. That is:

mystic/SYSTEMC 30 >> decoder_main.x

SystemC 2.0.1 --- Oct 7 2003 10:35:19
Copyright (c) 1996-2002 by all Contributors
ALL RIGHTS RESERVED
At time 0 scaptured :: (selec1, selec0, enable):
Error: (E112) get interface failed: index out of range: port 'MonitorWaveforms.port_1' (sc_in)
In file: ../../../../src/systemc/communication/sc_port.cpp:196
In process: MonitorWaveforms.prc_decoder_monitor @ 0 s

I have tried to find some errors but I cannot find any one. Could somebody help me?
Thanks in advance,
 

systemc error e112

It is OK. I found this error. Tks
 

systemc e112

check port sizes in code.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top