diff options
author | oharboe <oharboe> | 2008-05-04 19:29:07 +0000 |
---|---|---|
committer | oharboe <oharboe> | 2008-05-04 19:29:07 +0000 |
commit | 1362bd4ace3ce962ed744a153e5f969154bb6682 (patch) | |
tree | 0b01b48171f661f1eea5741c4b2086f5e49692f7 /zpu/hdl/zpu4/test | |
parent | ed14271c9743490ebc4947ba7904adaa0d16e279 (diff) | |
download | zpu-1362bd4ace3ce962ed744a153e5f969154bb6682.zip zpu-1362bd4ace3ce962ed744a153e5f969154bb6682.tar.gz |
* Make code synthesize on Synopsis
zpu/hdl/zpu4/src/zpu_core_small.vhd
zpu/hdl/zpu4/src/io.vhd
Diffstat (limited to 'zpu/hdl/zpu4/test')
-rw-r--r-- | zpu/hdl/zpu4/test/interrupt/int.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zpu/hdl/zpu4/test/interrupt/int.c b/zpu/hdl/zpu4/test/interrupt/int.c index 2be6483..1b6ec01 100644 --- a/zpu/hdl/zpu4/test/interrupt/int.c +++ b/zpu/hdl/zpu4/test/interrupt/int.c @@ -6,7 +6,10 @@ int counter;
-/* Example of single, fixed interval non-maskable, nested interrupt */
+/* Example of single, fixed interval non-maskable, nested interrupt. The interrupt signal is
+ * held high for enough cycles to guarantee that it will be noticed, i.e. longer than
+ * any io access + 4 cycles roughly.
+ */
void _zpu_interrupt(void)
{
/* interrupts are enabled so we need to finish up quickly,
|