hdlbits-Vectorr

Vectorr

Given an 8-bit input vector [7:0], reverse its bit ordering.

solution

1
2
3
4
5
6
7
module top_module( 
input [7:0] in,
output [7:0] out
);
assign out = {in[0], in[1], in[2], in[3], in[4], in[5], in[6], in[7]};
endmodule


hdlbits-Vectorr
http://456-xiao.github.io/2024/08/03/hdlbits-Vectorr/
作者
xyh
发布于
2024年8月3日
许可协议