mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 05:09:04 +00:00
Add $input_port
and $connect
cell types
This commit is contained in:
parent
c4f435569f
commit
1251e92e3a
4 changed files with 63 additions and 0 deletions
|
@ -3216,3 +3216,26 @@ module \$scopeinfo ();
|
|||
parameter TYPE = "";
|
||||
|
||||
endmodule
|
||||
|
||||
// --------------------------------------------------------
|
||||
//* group wire
|
||||
module \$connect (A, B);
|
||||
|
||||
parameter WIDTH = 0;
|
||||
|
||||
inout [WIDTH-1:0] A;
|
||||
inout [WIDTH-1:0] B;
|
||||
|
||||
tran connect[WIDTH-1:0] (A, B);
|
||||
|
||||
endmodule
|
||||
|
||||
// --------------------------------------------------------
|
||||
//* group wire
|
||||
module \$input_port (Y);
|
||||
|
||||
parameter WIDTH = 0;
|
||||
|
||||
inout [WIDTH-1:0] Y;
|
||||
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue