|
@@ -1,82 +0,0 @@
|
|
|
-`timescale 1ns / 1ps
|
|
|
|
|
-
|
|
|
|
|
-//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
-// Company: Tair
|
|
|
|
|
-// Engineer: Churbanov S.
|
|
|
|
|
-//
|
|
|
|
|
-// Create Date:
|
|
|
|
|
-// Design Name:
|
|
|
|
|
-// Module Name: TopSbtmsg
|
|
|
|
|
-// Project Name:
|
|
|
|
|
-// Target Devices:
|
|
|
|
|
-// Tool versions:
|
|
|
|
|
-// Description:
|
|
|
|
|
-//
|
|
|
|
|
-// Dependencies:
|
|
|
|
|
-//
|
|
|
|
|
-// Revision:
|
|
|
|
|
-// Revision 0.01 - File Created
|
|
|
|
|
-// Additional Comments:
|
|
|
|
|
-// Clk_i - is 24MHz.
|
|
|
|
|
-//
|
|
|
|
|
-//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
-
|
|
|
|
|
-module TopSbTmsg
|
|
|
|
|
-#(
|
|
|
|
|
- parameter DevNum = 8,
|
|
|
|
|
- parameter WordWidth = 24
|
|
|
|
|
-)
|
|
|
|
|
-(
|
|
|
|
|
- input Clk_i,
|
|
|
|
|
- input Rst_i,
|
|
|
|
|
-
|
|
|
|
|
- input Sck_i,
|
|
|
|
|
- input Ss_i,
|
|
|
|
|
-
|
|
|
|
|
- input Mosi0_i,
|
|
|
|
|
- inout Mosi1_io,
|
|
|
|
|
- input Mosi2_i,
|
|
|
|
|
- input Mosi3_i,
|
|
|
|
|
-
|
|
|
|
|
- input Miso1_i,
|
|
|
|
|
- input Miso2_i,
|
|
|
|
|
- input MisoMax2870_i,
|
|
|
|
|
-
|
|
|
|
|
- output I2CSck_o,
|
|
|
|
|
- inout I2CSda_io,
|
|
|
|
|
-
|
|
|
|
|
- output [DevNum-1:0] Ss_o,
|
|
|
|
|
- output [DevNum-1:0] Sck_o,
|
|
|
|
|
- output [DevNum-1:0] Mosi_o,
|
|
|
|
|
-
|
|
|
|
|
- output [21:0] Gpio_o
|
|
|
|
|
-);
|
|
|
|
|
-
|
|
|
|
|
-//================================================================================
|
|
|
|
|
-// LOCALPARAM
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-//================================================================================
|
|
|
|
|
-
|
|
|
|
|
-wire clk360;
|
|
|
|
|
-wire clk100;
|
|
|
|
|
-wire clk75;
|
|
|
|
|
-wire clk50;
|
|
|
|
|
-wire clk40;
|
|
|
|
|
-wire clk20;
|
|
|
|
|
-wire clk30;
|
|
|
|
|
-wire clk5;
|
|
|
|
|
-
|
|
|
|
|
-//================================================================================
|
|
|
|
|
-// ASSIGNMENTS
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-//================================================================================
|
|
|
|
|
-// CODING
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-endmodule
|
|
|