独热码 位拼接 verilog
时间: 2023-12-04 14:03:39 浏览: 60
Code_NCO.zip_NCO 相位累加器_数控振荡_数控振荡器_码 nco_载波NCO verilog
5星 · 资源好评率100%
module onehot_concat(input [3:0] in, output reg [7:0] out);
always @(*) begin
case (in)
4'b0001: out = 8'b00000001;
4'b0010: out = 8'b00000010;
4'b0100: out = 8'b00000100;
4'b1000: out = 8'b00001000;
default: out = 8'b00000000;
endcase
end
endmodule
阅读全文