Encore SIM EDITOR SOFTWARE Guida Utente Pagina 103

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 149
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 102
2-35
Modeling Your Design
Dealing With Unassigned Nets
Consider the following example:
module test(A);
input A;
wire A;
DUT DUT_1 (A);
// assign A = 1'bz;
initial
$lsi_dumpports(DUT_1,"dump.out");
endmodule
module DUT(A);
input A;
wire A;
child child_1(A);
endmodule
module child(A);
input A;
wire Z,A,B;
and (Z,A,B);
endmodule
In this case, the top level wire A is undriven at the top level. It is an
input which goes to an input in DUT_1, then to an input in CHILD_1
and finally to an input of an AND gate in CHILD_1. When
$lsi_dumpports evaluates the drivers on port A of test.DUT_1, it
finds no drivers on either side of port A of DUT_1, and therefore gives
a code of F, tristate (input and output unconnected).
Vedere la pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 148 149

Commenti su questo manuale

Nessun commento