projects
/
yosys.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use ID() in kernel/*, add simple ID:: hack (to be improved upon later)
[yosys.git]
/
manual
/
APPNOTE_011_Design_Investigation
/
splice.v
1
module splice_demo(a, b, c, d, e, f, x, y);
2
3
input [1:0] a, b, c, d, e, f;
4
output [1:0] x = {a[0], a[1]};
5
6
output [11:0] y;
7
assign {y[11:4], y[1:0], y[3:2]} =
8
{a, b, -{c, d}, ~{e, f}};
9
10
endmodule