From 947a075c171059a18d99040ddc54e1827cd283f4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 22 Jul 2018 06:17:28 +0100 Subject: [PATCH] remove old qspi plic template --- src/bsv/bsv_lib/slow_peripherals_template.bsv | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/src/bsv/bsv_lib/slow_peripherals_template.bsv b/src/bsv/bsv_lib/slow_peripherals_template.bsv index 67217ec..489c218 100644 --- a/src/bsv/bsv_lib/slow_peripherals_template.bsv +++ b/src/bsv/bsv_lib/slow_peripherals_template.bsv @@ -168,32 +168,6 @@ package slow_peripherals; end */ {10} - for(Integer i = 14; i < 20; i=i+1) begin - rule rl_connect_qspi0_to_plic; - `ifdef QSPI0 - if(qspi0.interrupts()[i-14]==1'b1) begin - ff_gateway_queue[i].enq(1); - plic.ifc_external_irq[i].irq_frm_gateway(True); - end - `else - ff_gateway_queue[i].enq(0); - `endif - endrule - end - - for(Integer i = 20; i<26; i=i+1) begin - rule rl_connect_qspi1_to_plic; - `ifdef QSPI1 - if(qspi1.interrupts()[i-20]==1'b1) begin - ff_gateway_queue[i].enq(1); - plic.ifc_external_irq[i].irq_frm_gateway(True); - end - `else - ff_gateway_queue[i].enq(0); - `endif - endrule - end - `ifdef UART0 SyncBitIfc#(Bit#(1)) uart0_interrupt <- mkSyncBitToCC(sp_clock, uart_reset); -- 2.30.2