sync chunk 11/12
This commit is contained in:
@@ -2,29 +2,30 @@
|
||||
|
||||
module eeg_config#
|
||||
(
|
||||
parameter SPIS_QTY = 4 ,
|
||||
parameter SPIS_QTY = 4 ,
|
||||
parameter SPI_DATA_WIDTH = 8
|
||||
)
|
||||
(
|
||||
input clk ,
|
||||
input rst_n ,
|
||||
input clk ,
|
||||
input rst_n ,
|
||||
|
||||
input [13-1:0] bram_addr ,
|
||||
input bram_clk ,
|
||||
input [32-1:0] bram_din ,
|
||||
output reg [32-1:0] bram_dout ,
|
||||
input bram_en ,
|
||||
input bram_rst ,
|
||||
input [ 4-1:0] bram_we ,
|
||||
input [13-1:0] bram_addr ,
|
||||
input bram_clk ,
|
||||
input [32-1:0] bram_din ,
|
||||
output reg [32-1:0] bram_dout ,
|
||||
input bram_en ,
|
||||
input bram_rst ,
|
||||
input [ 4-1:0] bram_we ,
|
||||
|
||||
//------------------------------------------ eeg
|
||||
output [32-1:0] eeg_er ,
|
||||
output [32-1:0] eeg_cr ,
|
||||
input [32-1:0] eeg_sr ,
|
||||
output [32*SPIS_QTY-1:0] eeg_tr_array ,
|
||||
input [32*SPIS_QTY-1:0] eeg_rr_array ,
|
||||
output [32-1:0] eeg_er ,
|
||||
output [32-1:0] eeg_cr ,
|
||||
input [32-1:0] eeg_sr ,
|
||||
output [32*SPIS_QTY-1:0] eeg_tr_array ,
|
||||
input [32*SPIS_QTY-1:0] eeg_rr_array ,
|
||||
|
||||
output reg eeg_sr_r_evt
|
||||
|
||||
output reg eeg_sr_r_evt
|
||||
);
|
||||
|
||||
//*****************************************************************************
|
||||
@@ -36,6 +37,7 @@ module eeg_config#
|
||||
localparam BRAM_ADDR_EEG_ER = 13'h0040;
|
||||
localparam BRAM_ADDR_EEG_CR = 13'h0044;
|
||||
localparam BRAM_ADDR_EEG_SR = 13'h0048;
|
||||
|
||||
localparam BRAM_ADDR_EEG_TR = 13'h0100;
|
||||
localparam BRAM_ADDR_EEG_RR = 13'h0200;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user