Package: file
Version: 5.09-2
Severity: wishlist
Tags: patch

there is a file format called "LXT" (interLaced eXtensible Trace), that
is used to store waveforms, typically generated from electronics
simulations. the format was created for Verilog simulations, can be
generated from `gpsim` program (packaged in Debian under the same name)
and read by `gtkwave` (dito).[1]

according to an article on the LXT file format[2], it can be recognized
by 2 byte fie and 2 byte version magic.

here is a file magic rule i wrote for these files for inclusion with
file:

0       beshort 0x0138  interLaced eXtensible Trace (LXT) file
>2      beshort >0      (Version %u)

(i'm not sure about the Version field, as i haven't seen a version 2
file yet -- it recognizes Version 1 correctly, but version 2 might have
a value different from 0x0002 there. if you prefer to be on the safe
side, the second line has to be end with 0x0001 (Version 1). personally,
i'd go for the generic form.)


[1] http://en.wikipedia.org/wiki/LXT
[2] http://6004.csail.mit.edu/6.371/cadtools/gtkwave/LXT_Explained.html

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages file depends on:
ii  libc6      2.13-21         
ii  libmagic1  5.09-2          
ii  zlib1g     1:1.2.3.4.dfsg-3

file recommends no packages.

file suggests no packages.

-- no debconf information

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom

Attachment: signature.asc
Description: Digital signature

Reply via email to