Skip to content

Commit

Permalink
docs: Fix splice.v in verific
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystalDelusion committed Mar 18, 2024
1 parent 3f54bf1 commit 718f43d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/code_examples/show/splice.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module splice_demo(a, b, c, d, e, f, x, y);

input [1:0] a, b, c, d, e, f;
output [1:0] x = {a[0], a[1]};
output [1:0] x;
assign x = {a[0], a[1]};

output [11:0] y;
assign {y[11:4], y[1:0], y[3:2]} =
Expand Down

0 comments on commit 718f43d

Please sign in to comment.