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

Subversion Repositories light52

[/] [light52/] [trunk/] [test/] [irq_test/] [readme.txt] - Blame information for rev 6

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 ja_rd
Irq_test -- Basic trials of the interrupt handling logic.
2
 
3
This demo does a few very basic tests of the IRQ handling logic, by triggering
4
the timer interrupt and the external interrupt. No other interrupt sources are
5
used.
6
This demo will only work in the simulation test bench, because it requires the
7
external interrupt inputs to be wired to the P1 output port; they are in the
8
simulation test bench entity but not in the synthesizable demo top entity.
9
 
10
 
11
In order to make this demo, you need the free assembler ASEM51.
12
 
13
DOS BAT script 'build.bat' will assemble the demo and build a suitable object
14
code VHDL package that can then be used in synthesis or simulation.
15
 
16
You can run this demo on the software simulator B51 by running script 'run.bat'.
17
You can run this demo in Modelsim using script /sim/light52_irq_tb.do.
18
 
19
Once you have run the demo in Modelsim and B51, you can then compare the
20
respective simulation logs (sw_log.txt and /sim/hw_sim_log.txt). For this demo,
21
both files should be identical.
22
 
23
It should be easy to port the BAT scripts to any linux shell flavor.

powered by: WebSVN 2.1.0

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