![]() |
|
|
|
#1 |
|
Gerhard Hoffmann wrote:
> Is there an easy way to clone a textio line including its contents? The words 'easy' and 'textio' belong together. I declare vhdl constant arrays instead. > Must be a standard task. > Probably I'm missing something obvious. The 'obvious' way to do variable strings is with access types, but this is not easy either. -- Mike Treseler _________________________________________________ procedure verify is type string_p is access string; variable string_v : string_p; begin string_v := new string'(integer'image(to_integer(expect_v))); report "___Step " & integer'image(step_v); match_v := expect_v = unsigned(readData_s); pass_v := pass_v and match_v; step_v := step_v + 1; ck : if match_v then boring : if verbose_g then report "_________saw " & string_v.all & " as expected"; end if boring; else report "__________Expected byte is " & string_v.all; report "__________Actual bus data is " & integer'image(to_integer(unsigned(readData_s))) severity error; report "______________________________WIRE STATE IS " & wire_t'image(wire_g); die; end if ck; end procedure verify; Mike Treseler |
|
|
|
|
#2 |
|
Posts: n/a
|
Mike Treseler wrote:
> The words 'easy' and 'textio' belong together. ^ don't Mike Treseler |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Horizontal Lines on Cartoon dvd's | Roger Hammonds | DVD Video | 1 | 10-07-2006 03:43 PM |
| Is there a tool to locate duplicate lines in a file ? | rofarmer | Software | 0 | 08-17-2006 06:58 PM |
| Walt Disney Treasures - ON THE FRONT LINES - DVD REVIEW | Mike McGee | DVD Video | 25 | 05-13-2004 07:06 PM |
| JVC HRXVC44U DVD/VCR combo and seeing scan lines | Eric B | DVD Video | 0 | 05-05-2004 07:45 PM |
| Open Range - screwed up lines at beginning of DVD | HiTechMan | DVD Video | 2 | 01-22-2004 03:27 PM |