迷人的小飞象又在摸鱼
迷人的小飞象又在摸鱼
全部文章
分类
归档
标签
去牛客网
登录
/
注册
迷人的小飞象又在摸鱼的博客
全部文章
(共28篇)
题解 | #并串转换#
`timescale 1ns/1ns module huawei5( input wire clk , input wire rst , input wire [3:0]d , output wire valid_in , output wire dout ); //*******...
2024-06-19
0
101
题解 | #16线-4线优先编码器#
`timescale 1ns/1ns module encoder_164( input [15:0] A , input EI , output wire [3:0] L , output ...
2023-09-13
0
277
题解 | #优先编码器电路①#
`timescale 1ns/1ns module encoder_0( input [8:0] I_n , output reg [3:0] Y_n ); always @ (*) begin casex(I_n) ...
2023-09-13
0
253
题解 | #优先编码器电路①#
`timescale 1ns/1ns module encoder_0( input [8:0] I_n , output reg [3:0] Y_n ); always @ (*) begin if(!I_n[8]...
2023-09-13
0
236
题解 | #使用函数实现数据大小端转换#
`timescale 1ns/1ns module function_mod( input [3:0]a, input [3:0]b, output [3:0]c, output [3:0]d ); assign c = drev(a); assign d = drev(b); fu...
2023-09-12
0
208
题解 | #使用子模块实现三输入数的大小比较#
`timescale 1ns/1ns module main_mod( input clk, input rst_n, input [7:0]a, input [7:0]b, input [7:0]c, output [7:0]d ); wire [7:0] min_1,min_2;...
2023-09-12
0
226
题解 | #使用generate…for语句简化代码#
`timescale 1ns/1ns module gen_for_module( input [7:0] data_in, output [7:0] data_out ); //wire [7:0] data; parameter size = 3'd7; genvar i; ...
2023-09-12
0
280
题解 | #求两个数的差值#
`timescale 1ns/1ns module data_minus( input clk, input rst_n, input [7:0]a, input [7:0]b, output reg [8:0]c ); always@(posedge clk or negedge r...
2023-09-12
1
245
题解 | #多功能数据处理器#
`timescale 1ns/1ns module data_select( input clk, input rst_n, input signed[7:0]a, input signed[7:0]b, input [1:0]select, output reg signed [8:0...
2023-09-12
0
213
题解 | #位拆分与运算#
`timescale 1ns/1ns module data_cal( input clk, input rst, input [15:0]d, input [1:0]sel, output [4:0]out, output validout ); //*************code****...
2023-09-12
0
252
首页
上一页
1
2
3
下一页
末页