Sign in
foss-fpga-tools
/
third_party
/
yosys
/
2badaa9adbf3fa976ac7e9d967e7d098de429bed
/
.
/
manual
/
APPNOTE_011_Design_Investigation
/
splice.v
blob: 1cf7274c059c5c53a65434dbf696246139a9e18b [
file
] [
log
] [
blame
]
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
[
11
:
0
]
y
;
assign
{
y
[
11
:
4
],
y
[
1
:
0
],
y
[
3
:
2
]}
=
{
a
,
b
,
-{
c
,
d
},
~{
e
,
f
}};
endmodule