OpenCores
URL https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk

Subversion Repositories adv_debug_sys

[/] [adv_debug_sys/] [trunk/] [Hardware/] [adv_dbg_if/] [bench/] [README_testbench.txt] - Diff between revs 32 and 42

Show entire file | Details | Blame | View Log

Rev 32 Rev 42
Line 1... Line 1...
README_testbench.txt
README_testbench.txt
Advanced Debug Module (adv_dbg_if)
Advanced Debug Module (adv_dbg_if)
Nathan Yawn, nathan.yawn@opencores.org
Nathan Yawn, nathan.yawn@opencores.org
 
 
Two testbenches are supplied with the advanced debug interface. The first
Three testbenches are supplied with the advanced debug interface. The first
uses behavioral simulation of a wishbone bus with a memory attached, and
uses behavioral simulation of a wishbone bus with a memory attached, and
another behavioral simulation of an OR1200 CPU.  This testbench performs
another behavioral simulation of an OR1200 CPU.  This testbench performs
and tests bus / memory operations, and performs a few CPU operations, The
and tests bus / memory operations, and performs a few CPU operations, The
top-level module is in adv_dbg_tb.v.  Other than the beavioral models, it
top-level module is in adv_dbg_tb.v.  Other than the behavioral models, it
instantiates an adv_dbg_if (found in ../rtl/verilog/), and a JTAG TAP
instantiates an adv_dbg_if (found in ../rtl/verilog/), and a JTAG TAP
("jtag" module, not included with this module).  Note that the TAP
("jtag" module, not included with this module).  Note that the TAP
distributed by OpenCores will not work correctly; use the version modified
written by Igor Mohor  will not work correctly; use the version distributed
by Nathan Yawn.
with the Advanced Debug System (written by Nathan Yawn).
 
 
The second testbench includes an actuall wishbone/OR1200 system. Its
The second testbench includes an actual wishbone/OR1200 system. Its
top-level entity is xsv_fpga_top.  It instantiates a wb_conbus, an OR1200,
top-level entity is xsv_fpga_top.  It instantiates a wb_conbus, an OR1200,
an onchipram, a jtag TAP, and a UART16550, along with an adv_dbg_if.  The
an onchipram, a jtag TAP, and a UART16550, along with an adv_dbg_if.  The
testbench is also instantiated here, and is used to drive the inputs to
testbench is also instantiated here, and is used to drive the inputs to
the JTAG TAP.  This testbench is less polished, but includes a functional
the JTAG TAP.  This testbench is less polished, but includes a functional
test of the single-step capability of the CPU.
test of the single-step capability of the CPU.
 
 
Both testbenches were written for use in  ModelSim (version 6.3).  A
The third testbench is used to test the JTAG serial port function.  Its
 
top-level entity is adv_dbg_jsp_tb.  This testbench instantiates only
 
a JTAG TAP and and adv_dbg_if.  The CPU module of the adv_dbg_if should
 
not be enabled for this testbench.  The WB initiator output of the WB
 
module is connected point-to-point to the WB target interface of the JTAG
 
Serial Port (JSP) module.  The WB interface is used to drive the WB side
 
of the JSP.
 
 
 
All testbenches were written for use in ModelSim (version 6.4).  A
wave.do file is also included for each testbench, which will display a
wave.do file is also included for each testbench, which will display a
useful collection of signals in the ModelSim wave view.
useful collection of signals in the ModelSim wave view.
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.