From: Mike Treseler on
Dan K wrote:
....
> if(UUT/instance_1/txcomstart /= '0') then
> error <= x"0103";
> end if;
> I've tried just about everything I can think of and nothing seems to work.

Maybe google for a vhdl testbench example to get started.

Here's one:
http://home.comcast.net/~mike_treseler/test_uart.vhd


-- Mike Treseler
From: Duane Clark on
HT-Lab wrote:
>
> As mentioned by Robert if you use Modelsim then look up SignalSpy which is
> very powerful and dead easy to use. If you use Riviera then you might be
> able to use VHDL2007/8. I am not 100% sure if the VHDL2007/8 syntax below
> is correct but it might look something like this:
>
> txcomstart <= <<signal .UUT.instance_1.txcomstart : std_logic_vector >>;
>
> if(txcomstart /= '0') then
> error <= x"0103";
> end if;
>
> Any Riviera user would like to comment on this?

I tried that with Riviera 2007.06, which did not seem to understand it.
I could not find anything in the docs about that syntax. I have not
downloaded the newest version of Riviera yet, so maybe that was added
very recently. In the version I have, you use a "signal_agent" to access
internal signals.