基于IM模型的SNN脉冲神经网络的verilog程序开发

`timescale 1ns / 1ps
//
// Company: 
// Engineer: 
// 
// Create Date: 2020/07/21 07:25:33
// Design Name: 
// Module Name: SNN_IM
// Project Name: 
// Target Devices: 
// Tool Versions: 
// Description: 
// 
// Dependencies: 
// 
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
// 
//


module SNN_IM(
             input i_clk,
             input i_rst,
             input[9:0]i_X,
             input[9:0]i_Y,
             output  signed[31:0]o_v,
             output  signed[31:0]o_u,
             output  signed[31:0]o_vL,
             output checker,
             output[15:0]cntc,
             output [15:0]cnt2
    );
wire[9:0]xy;
assign xy=i_X[9:1]+i_Y[9:1];    
    
 wire signed[15:0]o_stn1,o_stn2,o_stn3;
 LUT LUT_u(
       

おすすめ

転載: blog.csdn.net/ccsss22/article/details/121804660