mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Added $anyconst and $aconst
This commit is contained in:
parent
a7b0769623
commit
4056312987
7 changed files with 83 additions and 2 deletions
|
@ -1330,6 +1330,30 @@ endmodule
|
|||
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$aconst (Y);
|
||||
|
||||
parameter WIDTH = 0;
|
||||
|
||||
output [WIDTH-1:0] Y;
|
||||
|
||||
assign Y = 'bx;
|
||||
|
||||
endmodule
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$anyconst (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