Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreesh-Kulkarni committed Oct 23, 2023
1 parent f760658 commit 6564e25
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions comblogic/concat.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module concatgates(a, b, c, d, e, out1, out2, out3, out4, out5);
input[1:0] a, b, c, d, e;
output[9:0] out1, out2, out3, out5;
output[29:0] out4;

assign out1 = {a, b, c, d, e};
assign out2 = {5{a}};
assign out3 = {{3{b}}, {4{1'b0}}};
assign out4 = {out1, {e, d, c, b, a}, ~out1};
assign out5 = {10{1'b1}} ^ out1;
endmoduleS

0 comments on commit 6564e25

Please sign in to comment.