The Vcd2Apf program is a tool to convert the RTL simulation resultant files into the files of simulation patterns in Epson-specific format, called APF. The generated APF files are used for netlist simulation.
To implement the Vcd2apf file conversion, follow the flow shown below.
Here, VCD is a data file that contains the time and value of each signal switch, whereas APF is a simulation pattern file that contains lines of input and output signal values in each cycle. Therefore, Vcd2apf is a software that converts signal switch information to signal values in units of cycle.
Click "How to start Vcd2apf" for the description of how to start Vcd2apf. For supplemental information not necessary for the basic operation, click " Vcd2Apf -Appendix".
RTL simulation |
Dump the signals to be ASIC I/O pins and the output enable signals for
bi-directional I/O pins in the VCD format file. If the file contains
other data, it may slow down the process, but will cause no serious
problems. However, all the signals need to be included in one module. |
|---|---|
Use Vcd2apf to analyze VCD |
Start Vcd2apf (refer to How to start Vcd2apf
) and analyze the VCD file. Take the following steps and analysis
results will be shown in tabular form.
|
Modify the table |
When data appears in the table, input each signal data to generate APF. Basically, enter the data necessary to generate APF in the right-hand columns starting from the "IOB" column, referring to the data shown to the left of the "IOB" column, which is the VCD analysis result. Cells need to be filled or modified are shown in red. Add or modify information until all red-colored cells disappear. Yellow-colored cells indicate warnings. They may remain in the table, but the user should check them and ensure that they will have no adverse effect on the process. The descriptions of errors and warnings are given in the Comment column.
|
When all errors disappear, save the table as a template, and send it (CSV file) together with the VCD file to Epson. Also please inform our responsible designer about the cycle time and strobe timing in the VCD and APF files. The subsequent tasks will be taken care of by Seiko Epson. If any problem occurs in those tasks, Epson will discuss it with the customer to figure out possible solutions. |
Generate APF file
Update APF file
Check APF file |
When all errors disappear, enter the "APF Cycle Time", "Strobe" and "Delay
multiple". Then, click the "Generate APF" button. Clicking the button
opens the APF file selection window. For the file selection, select the
folder to save the APF file, enter the APF file name, and click the "OK"
button to generate the APF file. The "APF Cycle Time" and "Strobe" are not used in the VCD to APF conversion; they are only transcribed to the APF file. "Delay 1" and "Delay 2" in the table are respectively multiplied by the "Delay multiple", and the multiplied values are defined as the delays of input pins in the APF file. Acceptable delay values are zero and positive integers. To adjust delay values, edit the generated APF file. |
|---|---|
To match the "$DESIGN" and "$IOCONT" section data in the generated APF file with those in the netlists, update the APF file by running "apf2apf". The "apf2apf", a utility of "EPITS" and "EPITS7", updates the APF file by the command line like the example shown below: example) apf2apf ..\func1.apf -r rpt\TOP.rpt -u rpt\TOP.tpl -o pattern\func1.apf where the first ".apf" file is the APF file generated by Vcd2apf, the ".rpt" and the ".tpl" files are generated by SNRC, the design rule checker of Seiko Epson, and the last ".apf" file is the updated APF file to output. |
|
Check the APF file by running "apfcheck". The "apfcheck" is a utility of "EPITS" and "EPITS7". For usage, refer to the respective user's manuals for "EPITS" and "EPITS7". |