ADDER X-SC Uživatelský manuál Strana 16

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 87
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 15
16 CHAPTER 1. INTRODUCTION TO THE ALLIANCE TOOLS
named mux in and that we want the output pattern file generated by the simulation to be named mux out
(Note that no extension is used with either of the file names used in the command line tools of Alliance). As
noted in this output the behavioral file is compiled, ASIMUT searches for the input pattern file, links the files
and executes them at the intervals indicated in the input pattern file. The design flow up to this point using
ASIMUT is shown in Figure 1.4.
Figure 1.4: Simulating the b e havioral design file using ASIMUT.
We can again open and display the output file mux out.pat with xpat. This time the output signal q also
displays as shown in Figure 1.5. This signal has b ee n derived from the behavioral description of the circuit and
the values assigned to c, a and b. We can check that the multiplexer circuit behaves as expected passing b to
output q when c is 0 and a when c is 1. It is possible also to indicate in the input pattern file if the last values
Figure 1.5: The mux out.pat shown by xpat.
in the simulation must be saved to use them as initial values of the circuit in subsequent simulations. In this
case we just add one line with save; before end; of the input pattern file. Let’s try this using a modified copy
of our previous input pattern file (only the last three lines of muxs in.pat are shown).
<+1 ns> : 10 110 ?*;
<+1 ns> c_a_b : 10 111 ?*;
<+1 ns> : 10 111 ?*;
save;
end;
When using this input pattern file the output of the simulation will be the same, but this time an additional
file named with the same input pattern file name and extension .sav will be generated. Using this .sav file we
can set the initial conditions of a circuit before running the simulation with any other input pattern file.
The options in ASIMUT are shown in Table 1.1. The .ext extension is the extension specified by the
environment variable VH
DLYSFX. We can check its value as follows.
% env | grep VH
VH_MAXERR=10
VH_BEHSFX=vbe
VH_PATSFX=pat
VH_DLYSFX=dly
Zobrazit stránku 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 86 87

Komentáře k této Příručce

Žádné komentáře