Code a ASCII translator
4932
£400(approx. $497)
- Posted:
- Proposals: 4
- Remote
- #37849
- Archived
Description
Experience Level: Expert
need a tool that processes large ASCII files. The base format used "state" characters in a file to describe the large file. The "state" characters need to be considered when processing the larger file.
Some more detail:
In the timing file the PINS statements are followed by pin names or group names. The groups are defined in the pin file.
In the timing file the 1st column "Indices" are a number from 0 to 255 followed by a "Edge Action" that describes the waveform. (d1, d2, r1, r2 etc) This is then followed by a "Device Cycle Name" that appears in the large vector file.
Father down in the timing file is the time where the individual edges (d1 d2 r2 etc) transition.
The goal of the translator is to keep track of the edge actions and timing and translate the "Device Cycle Name" found in the vector file to a new format. The new format does not use "Indices" but it does have the ability to move the edges in a different way.
So Example 1:
Simple timing file
PIN a1
0 "d1:0" 0
1 "d1:1" 1
PINS a1
d1 = 0ns
Simple vector file
FORMAT a1
1;
0;
1;
0;
New format
vector{ a1}
TSET ts0 1;
TSET ts0 0;
TSET ts0 1;
TSET ts0 0;
SECOND EXAMPLE:
Simple timing file
PIN a1
0 "d1:0 d2:1" C
1 "d1:0" Low
2 "d1:1" High
PINS a1
d1 = 0ns
d2 = 50ns
Simple vector file
FORMAT a1
C;
LOW;
LOW;
HIGH;
New format
vector{ a1}
TSET ts1 1;
TSET ts0 0;
TSET ts0 0;
TSET ts0 1;
Some more detail:
In the timing file the PINS statements are followed by pin names or group names. The groups are defined in the pin file.
In the timing file the 1st column "Indices" are a number from 0 to 255 followed by a "Edge Action" that describes the waveform. (d1, d2, r1, r2 etc) This is then followed by a "Device Cycle Name" that appears in the large vector file.
Father down in the timing file is the time where the individual edges (d1 d2 r2 etc) transition.
The goal of the translator is to keep track of the edge actions and timing and translate the "Device Cycle Name" found in the vector file to a new format. The new format does not use "Indices" but it does have the ability to move the edges in a different way.
So Example 1:
Simple timing file
PIN a1
0 "d1:0" 0
1 "d1:1" 1
PINS a1
d1 = 0ns
Simple vector file
FORMAT a1
1;
0;
1;
0;
New format
vector{ a1}
TSET ts0 1;
TSET ts0 0;
TSET ts0 1;
TSET ts0 0;
SECOND EXAMPLE:
Simple timing file
PIN a1
0 "d1:0 d2:1" C
1 "d1:0" Low
2 "d1:1" High
PINS a1
d1 = 0ns
d2 = 50ns
Simple vector file
FORMAT a1
C;
LOW;
LOW;
HIGH;
New format
vector{ a1}
TSET ts1 1;
TSET ts0 0;
TSET ts0 0;
TSET ts0 1;
Jason T.
0% (0)Projects Completed
1
Freelancers worked with
1
Projects awarded
25%
Last project
4 Nov 2010
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies