E
erw kltrkea
I've been trying a simple resolve function of open collector outputs.
There are no syntax errors normally, and output waveform looks ok, but
if try to connect together two signals or outputs, I'll get an error
message saying "Nonresolved signal 'cc' has multiple sources."
I am using Modelsim PE ide.
Any help?
Here is declaration of resolve function and stuff.
PACKAGE oc IS
TYPE ocbit IS ( '0', 'Z', 'H' );
TYPE ocbit_vector IS ARRAY (natural RANGE <>) OF ocbit;
FUNCTION resold ( v: i2c_bit_vector ) RETURN ocbit;
SUBTYPE ocbit_resolved IS resold ocbit;
END oc;
And this is now in testbench. It is the same where ever I put it.
There are no syntax errors normally, and output waveform looks ok, but
if try to connect together two signals or outputs, I'll get an error
message saying "Nonresolved signal 'cc' has multiple sources."
I am using Modelsim PE ide.
Any help?
Here is declaration of resolve function and stuff.
PACKAGE oc IS
TYPE ocbit IS ( '0', 'Z', 'H' );
TYPE ocbit_vector IS ARRAY (natural RANGE <>) OF ocbit;
FUNCTION resold ( v: i2c_bit_vector ) RETURN ocbit;
SUBTYPE ocbit_resolved IS resold ocbit;
END oc;
And this is now in testbench. It is the same where ever I put it.