.SUBCKT OPA640X .ENDS .SUBCKT OPA641X .ENDS .SUBCKT OPA642X .ENDS .SUBCKT OPA643X .ENDS .SUBCKT OPA644X .ENDS .SUBCKT OP…
OPA 源代码
光学参量放大器(optical parameter放大器,简称OPA)是通过应用光学参量生成(简称OPG)来执行激光的波长转换的装置的总称。
// Structural ALU `define SIZE 64 module mux2(sel, op0, op1, res); input sel; input op0; input op1; output res; wire not_…
module fpu_arch(fpu_op,opa,opb,out,exp); //寄存器输出 //input clk; input [1:0]fpu_op; input [31:0]opa; input [31:0]opb; output[3…
module sub (opa,opb,out); input [31:0]opa,opb; output[31:0]out; wire [31:0]opa,opb; wire [31:0]out; wire [31:0]tempopb; …
module div (opa,opb,out,exp); input [31:0]opa,opb; output[31:0]out; output exp; wire [31:0]opa,opb; wire [31:0]out; wire…
module mul (opa,opb,out); input [31:0]opa,opb; output[31:0]out; wire [31:0]opa,opb; wire [31:0]out; wire sign; wire [7:0…
module MAC(out,opa,opb,clk,clr); output[15:0] out; input[7:0] opa,opb; input clk,clr; wire[15:0] sum; reg[15:0] out; funct…
'timescale 1ns/1ns `include "mac.v" module mac_tp; reg[7:0] opa,opb; reg clr,clk; wire[15:0] out; parameter DELY = 100; M…
module funct(clk,n,result,reset); output[31:0] result; input[3:0] n; input reset,clk; reg[31:0] result; always @(posedge cl…
module MAC(out,opa,opb,clk,clr); output[15:0] out; input[7:0] opa,opb; input clk,clr; wire[15:0] sum; reg[15:0] out; funct…