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

Subversion Repositories light52

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

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 18 ja_rd
You can run this demo on the software simulator B51 by running script 'run.bat';
17
it will fail because B51 does not simulate the wiring on EXTINT required by this
18
program, as mentioned above.
19 3 ja_rd
You can run this demo in Modelsim using script /sim/light52_irq_tb.do.
20
 
21
Once you have run the demo in Modelsim and B51, you can then compare the
22
respective simulation logs (sw_log.txt and /sim/hw_sim_log.txt). For this demo,
23
both files should be identical.
24
 
25
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.