mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
* Copies guidelines files into docs/ for website * Copying manual/CHAPTER_Prog for new docs * Copying manual/APPNOTE_011... for new docs Also adding faketime to list of packages for website build. Co-authored-by: KrystalDelusion <krystinedawn@yosyshq.com>
11 lines
212 B
Verilog
11 lines
212 B
Verilog
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
|