⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 string_plus.pkg

📁 6端口寄存器IP内核VHDL源代码
💻 PKG
字号:
-- Source: T:/hwdev/generic/VHDL/string_plus.pkg
-- Designer: Tim Pagden    

-- Description: Extensions to the std.standard.string package to allow
-- conversion functions and mixed operators
 
-- Revision history: T:/hwdev/generic/etc/string_plus_pkg.dnh
-- 29.12.97 TP   0.0   created from string_class.pkg

library IEEE;
library vfp;

package string_plus is
  use std.textio.all;
  use IEEE.std_logic_1164.all;
  use vfp.std_logic_class.all;
  
  -- extensions to std.standard.character and std.standard.string
  -- character and string defined in std.standard

  -- conversion functions
  function to_character (a: std_ulogic) return character;   -- 29.12.97
  function to_string (a: std_ulogic_vector) return string;  -- 29.12.97  

  -- mixed operators
  function "&" (a: string; b: integer) return string;

  procedure write (
    l         : inout line;
    value     : in    std_ulogic_vector;
    justified : in    side  := right;
    field     : in    width := 0
  );

end string_plus;



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -