X hits on this document

124 views

0 shares

0 downloads

0 comments

11 / 42

READING VECTOR FILES

User-Programmed Reader (Example)

VTRAN Command File

OVF_BLOCK

Begin

Orig_File = "sim.vec";

Inputs adr[7:0], mode[3:0], r/w, ext, rep, clk;

Outputs j, db[7:0];

Begin_String "!PRECISION 0";

Whitespace ‘{‘, ‘}’ ;

Tabular_Format "! $skipeol", " $atime $states ";

End;

PROC_BLOCK

. . .

“Sim.vec” File:

!VERSION 4.0

!TYPE DIGITAL

!VARIABLES time {adr mode r/w ext rep clk j db }

!RADIX { B8 B4 B1 B1 B1 B1 B1 B8 }

!UNITS ns {}

!PRECISION 0

1000

{ 00000000000000011ZZZZZZZZ }

1000

{ 00001100000000001ZZZZZZZZ }

1000

{ 00000000000000011ZZZZZZZZ }

1500   { 0000000000000001111011001 }

2000   { 00000000000000011ZZZZZZZZ }

2500   { 0000000000000001100001111 }

!REMARK BEGIN SEQ 1

3000   { 00000000000000011ZZZZZZZZ }

                            .  .  .  .

Document info
Document views124
Page views131
Page last viewedMon Dec 05 09:52:49 UTC 2016
Pages42
Paragraphs1154
Words5926

Comments