Examples for Sequential Declaration Regions


  function to_string (
    value      : in integer_vector
  ) return string is
    variable L : line; 
  begin
    write(L, value) ;    
    inner_blk : block
     variable result : string(L'range) ; 
    begin
      result := L.all ; 
      deallocate(L) ; 
      return result ; 
    end block ; 
  end function to_string ; 
Topic revision: r1 - 2017-04-06 - 23:29:59 - JimLewis
 
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback