OpenFPGA/openfpga_flow/openfpga_cell_library/verilog/inv.v

30 lines
690 B
Coq
Raw Normal View History

2021-02-08 20:26:48 -06:00
// ----- Verilog module for INVTX1 -----
module INVTX1(in,
out);
//----- INPUT PORTS -----
input [0:0] in;
//----- OUTPUT PORTS -----
output [0:0] out;
//----- BEGIN wire-connection ports -----
//----- END wire-connection ports -----
//----- BEGIN Registered ports -----
//----- END Registered ports -----
// ----- Verilog codes of a regular inverter -----
//assign out = (in === 1'bz)? $random : ~in;
assign out = ~in;
`ifdef ENABLE_TIMING
// ------ BEGIN Pin-to-pin Timing constraints -----
specify
(in[0] => out[0]) = (0.01, 0.01);
endspecify
// ------ END Pin-to-pin Timing constraints -----
`endif
endmodule
// ----- END Verilog module for INVTX1 -----