1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00

proofread

This commit is contained in:
jand 2005-12-29 21:20:02 +00:00
parent 040018dfc1
commit e6579efa73
2 changed files with 5 additions and 6 deletions

View File

@ -22,8 +22,8 @@ has a procedural language interface (PLI). The \myhdl\
side is designed to be independent of a particular side is designed to be independent of a particular
simulator, On the other hand, for each HDL simulator a specific simulator, On the other hand, for each HDL simulator a specific
PLI module will have to be written in C. Currently, PLI module will have to be written in C. Currently,
the \myhdl\ release contains a PLI module to interface the \myhdl\ release contains a PLI module for
with the Icarus and Cver Verilog simulators. two Verilog simulators: Icarus and Cver.
\section{The HDL side \label{cosim-hdl}} \section{The HDL side \label{cosim-hdl}}

View File

@ -133,7 +133,7 @@ Combinatorial logic is described with a code pattern as
follows: follows:
\begin{verbatim} \begin{verbatim}
def top(<parameters>) def top(<parameters>):
... ...
@always_comb @always_comb
def combLogic(): def combLogic():
@ -238,7 +238,7 @@ common patterns: a template with a rising clock edge and an
asynchronous reset signal. Other templates are similar. asynchronous reset signal. Other templates are similar.
\begin{verbatim} \begin{verbatim}
def top(<parameters>, clock, ..., reset, ...) def top(<parameters>, clock, ..., reset, ...):
... ...
@always(clock.posedge, reset.negedge) @always(clock.posedge, reset.negedge)
def seqLogic(): def seqLogic():
@ -487,8 +487,7 @@ instead:
tb_fsm = traceSignals(testbench) tb_fsm = traceSignals(testbench)
\end{verbatim} \end{verbatim}
All signals in the instance hierarchy will be traced in an output VCD Note that the first argument of
file called \file{tb_fsm.vcd}. Note that first the argument of
\function{traceSignals()} consists of the uncalled function. By \function{traceSignals()} consists of the uncalled function. By
calling the function under its control, \function{traceSignals()} calling the function under its control, \function{traceSignals()}
gathers information about the hierarchy and the signals to be traced. gathers information about the hierarchy and the signals to be traced.