Bringup
Open the editor
Verilog (digital engine)74HC02v_hc02

74HC02 (4× NOR)

74HC02 (4× NOR): functional Verilog gate model, numbered SOIC pins as in the datasheet.

Y[0]A[0]B[0]Y[1]A[1]B[1]GNDA[2]B[2]Y[2]A[3]B[3]Y[3]VCC74HC02
Schematic symbol

Key data

Category
Logic (Verilog)
Simulation model
Verilog (digital engine)
Manufacturer part number
74HC02
Reference prefix
U
Pins
14
Land pattern
SOIC-14_3.9x8.7mm_P1.27mm

Simulation model

The Verilog source is synthesized to gates with Yosys (WebAssembly) and simulated event by event. Outputs drive the analog circuit like CMOS pins through a driver resistance to the supply; inputs switch at 30 % and 70 % of the supply.

Supply pins
14 / 7
Top module
v_hc02
Output driver resistance
50 Ω
Verilog source
module v_hc02(input [3:0] A,B,output [3:0] Y);assign Y=~(A|B);endmodule

Pins 14

PinNameUse
1Y[0]Output pinLogic output: drives the next input; do not tie outputs together
2A[0]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
3B[0]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
4Y[1]Output pinLogic output: drives the next input; do not tie outputs together
5A[1]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
6B[1]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
7GNDGround pinGround
8A[2]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
9B[2]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
10Y[2]Output pinLogic output: drives the next input; do not tie outputs together
11A[3]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
12B[3]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
13Y[3]Output pinLogic output: drives the next input; do not tie outputs together
14VCCSupply pinSupply input: decouple with 100 nF close to the pin

Parameters 1

Gate delaytpd
Default10n

PCB

Verified land patternSOIC-14_3.9x8.7mm_P1.27mm