OpenCores
URL https://opencores.org/ocsvn/xgate/xgate/trunk

Subversion Repositories xgate

[/] [xgate/] [trunk/] [rtl/] [verilog/] [xgate_wbs_bus.v] - Diff between revs 67 and 72

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 67 Rev 72
Line 90... Line 90...
  output reg         [1:0] write_irw_en_1, // Write Strobe for Interrupt Bypass Control Register 1
  output reg         [1:0] write_irw_en_1, // Write Strobe for Interrupt Bypass Control Register 1
  output reg         [1:0] write_irw_en_0, // Write Strobe for Interrupt Bypass Control Register 0
  output reg         [1:0] write_irw_en_0, // Write Strobe for Interrupt Bypass Control Register 0
  output                   async_rst_b,    //
  output                   async_rst_b,    //
  output                   sync_reset,     //
  output                   sync_reset,     //
  input            [415:0] read_risc_regs, // status register bits for WISHBONE Read bus
  input            [415:0] read_risc_regs, // status register bits for WISHBONE Read bus
  input            [127:0] irq_bypass      // IRQ status bits WISHBONE Read bus
  input            [127:1] irq_bypass      // IRQ status bits WISHBONE Read bus
  );
  );
 
 
 
 
  // registers
  // registers
  reg                bus_wait_state;  // Holdoff wbs_ack_o for one clock to add wait state
  reg                bus_wait_state;  // Holdoff wbs_ack_o for one clock to add wait state
Line 244... Line 244...
 
 
  // WISHBONE Read Data Mux for IRQ control registers
  // WISHBONE Read Data Mux for IRQ control registers
  always @*
  always @*
      case ({wbs_racc, address}) // synopsys parallel_case
      case ({wbs_racc, address}) // synopsys parallel_case
        // 16 bit Bus, 16 bit Granularity
        // 16 bit Bus, 16 bit Granularity
        7'b110_0000: read_mux_irq = irq_bypass[ 15:  0];
        7'b110_0000: read_mux_irq = {irq_bypass[ 15:  1], 1'b0};
        7'b110_0001: read_mux_irq = irq_bypass[ 31: 16];
        7'b110_0001: read_mux_irq = irq_bypass[ 31: 16];
        7'b110_0010: read_mux_irq = irq_bypass[ 47: 32];
        7'b110_0010: read_mux_irq = irq_bypass[ 47: 32];
        7'b110_0011: read_mux_irq = irq_bypass[ 63: 48];
        7'b110_0011: read_mux_irq = irq_bypass[ 63: 48];
        7'b110_0100: read_mux_irq = irq_bypass[ 79: 64];
        7'b110_0100: read_mux_irq = irq_bypass[ 79: 64];
        7'b110_0101: read_mux_irq = irq_bypass[ 95: 80];
        7'b110_0101: read_mux_irq = irq_bypass[ 95: 80];

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.