Line 65... |
Line 65... |
output [15:0] wbm_adr_o, // Address bits
|
output [15:0] wbm_adr_o, // Address bits
|
input [DWIDTH-1:0] wbm_dat_i, // databus input
|
input [DWIDTH-1:0] wbm_dat_i, // databus input
|
input wbm_ack_i, // bus cycle acknowledge input
|
input wbm_ack_i, // bus cycle acknowledge input
|
// XGATE IO Signals
|
// XGATE IO Signals
|
output [ 7:0] xgswt, // XGATE Software Trigger Register
|
output [ 7:0] xgswt, // XGATE Software Trigger Register
|
output write_mem_strb_l, // Strobe for writing low data byte
|
|
output write_mem_strb_h, // Strobe for writing high data bye
|
|
output xg_sw_irq, // Xgate Software interrupt
|
output xg_sw_irq, // Xgate Software interrupt
|
output [MAX_CHANNEL:0] xgif, // XGATE Interrupt Flag
|
output [MAX_CHANNEL:0] xgif, // XGATE Interrupt Flag
|
input [MAX_CHANNEL:0] chan_req_i, // XGATE Interrupt request
|
input [MAX_CHANNEL:0] chan_req_i, // XGATE Interrupt request
|
input risc_clk, // Clock for RISC core
|
input risc_clk, // Clock for RISC core
|
input debug_mode_i, // Force RISC core into debug mode
|
input debug_mode_i, // Force RISC core into debug mode
|
Line 147... |
Line 145... |
wire debug_ack; // Clear debug register
|
wire debug_ack; // Clear debug register
|
wire single_step; // Pulse to trigger a single instruction execution in debug mode
|
wire single_step; // Pulse to trigger a single instruction execution in debug mode
|
wire ss_mem_ack; // WISHBONE Bus has granted single step memory access
|
wire ss_mem_ack; // WISHBONE Bus has granted single step memory access
|
|
|
wire [ 7:0] host_semap; // Semaphore status for host
|
wire [ 7:0] host_semap; // Semaphore status for host
|
// wire [15:0] write_mem_data;
|
wire write_mem_strb_l; // Strobe for writing low data byte
|
// wire [15:0] read_mem_data;
|
wire write_mem_strb_h; // Strobe for writing high data bye
|
// wire [15:0] perif_data;
|
|
|
|
assign xgif = xgif_status[MAX_CHANNEL:0];
|
assign xgif = xgif_status[MAX_CHANNEL:0];
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
// Wishbone Slave Bus interface
|
// Wishbone Slave Bus interface
|
xgate_wbs_bus #(.ARST_LVL(ARST_LVL),
|
xgate_wbs_bus #(.ARST_LVL(ARST_LVL),
|