URL
https://opencores.org/ocsvn/rtf8088/rtf8088/trunk
[/] [rtf8088/] [trunk/] [rtl/] [verilog/] [check_for_ints.v] - Blame information for rev 6
Go to most recent revision |
Details |
Compare with Previous |
View Log
| Line No. |
Rev |
Author |
Line |
| 1 |
2 |
robfinch |
// This source file is free software: you can redistribute it and/or modify
|
| 2 |
|
|
// it under the terms of the GNU Lesser General Public License as published
|
| 3 |
|
|
// by the Free Software Foundation, either version 3 of the License, or
|
| 4 |
|
|
// (at your option) any later version.
|
| 5 |
|
|
//
|
| 6 |
|
|
// This source file is distributed in the hope that it will be useful,
|
| 7 |
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 8 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 9 |
|
|
// GNU General Public License for more details.
|
| 10 |
|
|
//
|
| 11 |
|
|
// You should have received a copy of the GNU General Public License
|
| 12 |
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 13 |
|
|
//
|
| 14 |
|
|
// Check for interrupts during string instructions.
|
| 15 |
|
|
//
|
| 16 |
|
|
if (pe_nmi & checkForInts) begin
|
| 17 |
|
|
rst_nmi <= 1'b1;
|
| 18 |
|
|
int_num <= 8'h02;
|
| 19 |
|
|
ir <= `NOP;
|
| 20 |
|
|
state <= INT2;
|
| 21 |
|
|
end
|
| 22 |
|
|
else if (irq_i & ie & checkForInts) begin
|
| 23 |
|
|
ir <= `NOP;
|
| 24 |
|
|
state <= INTA0;
|
| 25 |
|
|
end
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.