N
Niv
Guest
I have inherited a test-bench which I must modify to verify an updated
chip. (Many of the tests are the same or very similar to the old
chip).
However, the t_bench uses multiple processes, of which 6 represent a
repeating style, so I'd like to write 6 procedures to hugely cut down
the amount of text (30,000 lines in total, of which <100 are
comments).
I have about 20 signals, each of which have assigned the 6 processes,
so 120 processes, each fully written out. A simple procedure call
would be so much neater (and save a few trees).
I've read you can't pass 'TRANSACTION and a few other attributes to a
procedure, so is there a trick to overcoming this, and an example
would help?
TIA, Kev Parsons.
chip. (Many of the tests are the same or very similar to the old
chip).
However, the t_bench uses multiple processes, of which 6 represent a
repeating style, so I'd like to write 6 procedures to hugely cut down
the amount of text (30,000 lines in total, of which <100 are
comments).
I have about 20 signals, each of which have assigned the 6 processes,
so 120 processes, each fully written out. A simple procedure call
would be so much neater (and save a few trees).
I've read you can't pass 'TRANSACTION and a few other attributes to a
procedure, so is there a trick to overcoming this, and an example
would help?
TIA, Kev Parsons.