You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after seeing https://github.com/nickg/nvc/issues/808 I gave it a shot at compiling Verilog standard cell libraries I have available for a PDK that we use. I see couple of macros unsupported:
Tried to put together MVP example of the cell from PDK:
`timescale 1ns/1ps
`celldefine
module AND_GATE(A,B,Y);
input A, B;
output Y;
`ifdef FUNCTIONAL // functional //
AND_GATE_func AND_GATE_behav_inst(.A(A),.B(B),.Y(Y));
`else
AND_GATE_func AND_GATE_behav_inst(.A(A),.B(B),.Y(Y));
specify
// specify_block_begin
if(B===1'b0)
// comb arc A --> Y
(A => Y) = (1.0,1.0);
if(B===1'b1)
// comb arc A --> Y
(A => Y) = (1.0,1.0);
if(A===1'b0)
// comb arc B --> Y
(B => Y) = (1.0,1.0);
if(A===1'b1)
// comb arc B --> Y
(B => Y) = (1.0,1.0);
endspecify
`endif
endmodule
`endcelldefine
Note that this has several other issues (non-ANSI port declaration, specify blocks),
but its the most rudimentary cell definition I could create. Feel free to close/do whatever with the issue if
it is too soon and the verilog implementation is not yet there.
The text was updated successfully, but these errors were encountered:
Hi,
after seeing
https://github.com/nickg/nvc/issues/808
I gave it a shot at compiling Verilog standard cell libraries I have available for a PDK that we use. I see couple of macros unsupported:Tried to put together MVP example of the cell from PDK:
Note that this has several other issues (non-ANSI port declaration, specify blocks),
but its the most rudimentary cell definition I could create. Feel free to close/do whatever with the issue if
it is too soon and the verilog implementation is not yet there.
The text was updated successfully, but these errors were encountered: