From: Luke Kenneth Casson Leighton Date: Sun, 22 Jul 2018 05:17:28 +0000 (+0100) Subject: remove old qspi plic template X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=947a075c171059a18d99040ddc54e1827cd283f4;p=pinmux.git remove old qspi plic template --- 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);