Bringup
Open the editor
Verilog (digital engine)74HC154v_hc154

74HC154 (4:16 instruction decoder)

74HC154 (4:16 instruction decoder): functional Verilog gate model, numbered SOIC pins as in the datasheet.

nY[0]nY[1]nY[2]nY[3]nY[4]nY[5]nY[6]nY[7]nY[8]nY[9]nY[10]GNDnY[11]nY[12]nY[13]nY[14]nY[15]nE1nE2A[3]A[2]A[1]A[0]VCC74HC154
Schematic symbol

Key data

Category
Logic (Verilog)
Simulation model
Verilog (digital engine)
Manufacturer part number
74HC154
Reference prefix
U
Pins
24
Land pattern
SOIC-24W_7.5x15.4mm_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
24 / 12
Top module
v_hc154
Output driver resistance
50 Ω
Verilog source

module v_hc154(input [3:0] A,input nE1,nE2,output [15:0] nY);
assign nY=(nE1||nE2)?16'hffff:~(16'h0001<<A);
endmodule

Pins 24

PinNameUse
1nY[0]Output pinLogic output: drives the next input; do not tie outputs together
2nY[1]Output pinLogic output: drives the next input; do not tie outputs together
3nY[2]Output pinLogic output: drives the next input; do not tie outputs together
4nY[3]Output pinLogic output: drives the next input; do not tie outputs together
5nY[4]Output pinLogic output: drives the next input; do not tie outputs together
6nY[5]Output pinLogic output: drives the next input; do not tie outputs together
7nY[6]Output pinLogic output: drives the next input; do not tie outputs together
8nY[7]Output pinLogic output: drives the next input; do not tie outputs together
9nY[8]Output pinLogic output: drives the next input; do not tie outputs together
10nY[9]Output pinLogic output: drives the next input; do not tie outputs together
11nY[10]Output pinLogic output: drives the next input; do not tie outputs together
12GNDGround pinGround
13nY[11]Output pinLogic output: drives the next input; do not tie outputs together
14nY[12]Output pinLogic output: drives the next input; do not tie outputs together
15nY[13]Output pinLogic output: drives the next input; do not tie outputs together
16nY[14]Output pinLogic output: drives the next input; do not tie outputs together
17nY[15]Output pinLogic output: drives the next input; do not tie outputs together
18nE1Input pinActive-low control input: low = active; tie high when unused
19nE2Input pinActive-low control input: low = active; tie high when unused
20A[3]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
21A[2]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
22A[1]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
23A[0]Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
24VCCSupply pinSupply input: decouple with 100 nF close to the pin

Parameters 1

Gate delaytpd
Default10n

PCB

Verified land patternSOIC-24W_7.5x15.4mm_P1.27mm