How to insert tab in Write() function in VHDL

Discussion in 'VHDL' started by Weng Tianxiang, May 18, 2007.

  1. Hi,
    I want to insert tab in write() function in VHDL.

    Here is a write() function definition:
    procedure WRITE(L : inout LINE; VALUE : in character;
    JUSTIFIED: in SIDE := right;
    FIELD: in WIDTH := 0);

    Here is character definition:
    package standard is
    type character is (
    nul, soh, stx, etx, eot, enq, ack, bel,
    bs, ht, lf, vt, ff, cr, so, si,
    dle, dc1, dc2, dc3, dc4, nak, syn, etb,
    can, em, sub, esc, fsp, gsp, rsp, usp,

    ' ', '!', '"', '#', '$', '%', '&', ''',
    '(', ')', '*', '+', ',', '-', '.', '/',
    '0', '1', '2', '3', '4', '5', '6', '7',
    '8', '9', ':', ';', '<', '=', '>', '?',

    I want to know which one is tabulator (tab).

    Thank you.

    Weng
    Weng Tianxiang, May 18, 2007
    #1
    1. Advertising

  2. Weng Tianxiang wrote:
    > Hi,
    > I want to insert tab in write() function in VHDL.
    >
    > Here is a write() function definition:
    > procedure WRITE(L : inout LINE; VALUE : in character;
    > JUSTIFIED: in SIDE := right;
    > FIELD: in WIDTH := 0);
    >
    > Here is character definition:
    > package standard is
    > type character is (
    > nul, soh, stx, etx, eot, enq, ack, bel,
    > bs, ht, lf, vt, ff, cr, so, si,
    > dle, dc1, dc2, dc3, dc4, nak, syn, etb,
    > can, em, sub, esc, fsp, gsp, rsp, usp,
    >
    > ' ', '!', '"', '#', '$', '%', '&', ''',
    > '(', ')', '*', '+', ',', '-', '.', '/',
    > '0', '1', '2', '3', '4', '5', '6', '7',
    > '8', '9', ':', ';', '<', '=', '>', '?',
    >
    > I want to know which one is tabulator (tab).


    ht
    Sylvain Munaut, May 18, 2007
    #2
    1. Advertising

  3. Weng Tianxiang wrote:
    > Hi,
    > I want to insert tab in write() function in VHDL.


    (snip)

    > type character is (
    > nul, soh, stx, etx, eot, enq, ack, bel,
    > bs, ht, lf, vt, ff, cr, so, si,
    > dle, dc1, dc2, dc3, dc4, nak, syn, etb,
    > can, em, sub, esc, fsp, gsp, rsp, usp,
    >
    > ' ', '!', '"', '#', '$', '%', '&', ''',
    > '(', ')', '*', '+', ',', '-', '.', '/',
    > '0', '1', '2', '3', '4', '5', '6', '7',
    > '8', '9', ':', ';', '<', '=', '>', '?',


    > I want to know which one is tabulator (tab).


    ht is horizontal tab, vt is vertical tab. There are terminals
    that know what to do with one or both of those.

    -- glen
    glen herrmannsfeldt, May 20, 2007
    #3
  4. Weng Tianxiang

    Gabor Guest

    On May 20, 5:51 pm, glen herrmannsfeldt <> wrote:
    > Weng Tianxiang wrote:
    > > Hi,
    > > I want to insert tab in write() function in VHDL.

    >
    > (snip)
    >
    > > type character is (
    > > nul, soh, stx, etx, eot, enq, ack, bel,
    > > bs, ht, lf, vt, ff, cr, so, si,
    > > dle, dc1, dc2, dc3, dc4, nak, syn, etb,
    > > can, em, sub, esc, fsp, gsp, rsp, usp,

    >
    > > ' ', '!', '"', '#', '$', '%', '&', ''',
    > > '(', ')', '*', '+', ',', '-', '.', '/',
    > > '0', '1', '2', '3', '4', '5', '6', '7',
    > > '8', '9', ':', ';', '<', '=', '>', '?',
    > > I want to know which one is tabulator (tab).

    >
    > ht is horizontal tab, vt is vertical tab. There are terminals
    > that know what to do with one or both of those.
    >
    > -- glen



    You can see a list of all of these abbreviations at:

    http://www.asciitable.com/
    Gabor, May 21, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hermit Dave
    Replies:
    0
    Views:
    424
    Hermit Dave
    Jan 22, 2004
  2. News Sympatico
    Replies:
    0
    Views:
    302
    News Sympatico
    May 21, 2005
  3. tab 2 into tab 4 ?

    , Jun 19, 2005, in forum: Python
    Replies:
    2
    Views:
    314
  4. sfp
    Replies:
    1
    Views:
    479
    mrcakey \(The Eclectic Electric\)
    Feb 5, 2007
  5. afd
    Replies:
    1
    Views:
    8,274
    Colin Paul Gloster
    Mar 23, 2007
Loading...

Share This Page