summaryrefslogtreecommitdiff
path: root/2004/n/fpga/src/gpio/bch_gpio.vhd
diff options
context:
space:
mode:
Diffstat (limited to '2004/n/fpga/src/gpio/bch_gpio.vhd')
-rw-r--r--2004/n/fpga/src/gpio/bch_gpio.vhd5
1 files changed, 3 insertions, 2 deletions
diff --git a/2004/n/fpga/src/gpio/bch_gpio.vhd b/2004/n/fpga/src/gpio/bch_gpio.vhd
index d785248..cd89ac4 100644
--- a/2004/n/fpga/src/gpio/bch_gpio.vhd
+++ b/2004/n/fpga/src/gpio/bch_gpio.vhd
@@ -110,7 +110,8 @@ begin
wait for (3*CK_PERIOD);
do_write (A_IO1_REG_DATA, x"01");
wait for (3*CK_PERIOD);
- do_write (A_IO1_REG_INTERRUPT_MASK, x"04");
+ -- interruption sur les 3 bits de poid faible.
+ do_write (A_IO1_REG_INTERRUPT_MASK, x"07");
-- Lecture dans les trois registres.
wait for (3*CK_PERIOD);
@@ -124,7 +125,7 @@ begin
wait for (3*CK_PERIOD);
do_read (A_IO1_READ_OUTPUT);
- -- test du signal d'interruption
+ -- Test du signal d'interruption.
wait for (3*CK_PERIOD);
do_write (A_IO1_REG_DATA, x"02");
wait for (3*CK_PERIOD);