mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Add $allconst and $allseq cell types
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
2521ed305e
commit
eb67a7532b
11 changed files with 67 additions and 9 deletions
|
@ -1370,6 +1370,30 @@ endmodule
|
|||
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$allconst (Y);
|
||||
|
||||
parameter WIDTH = 0;
|
||||
|
||||
output [WIDTH-1:0] Y;
|
||||
|
||||
assign Y = 'bx;
|
||||
|
||||
endmodule
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$allseq (Y);
|
||||
|
||||
parameter WIDTH = 0;
|
||||
|
||||
output [WIDTH-1:0] Y;
|
||||
|
||||
assign Y = 'bx;
|
||||
|
||||
endmodule
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$equiv (A, B, Y);
|
||||
|
||||
input A, B;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue