Bringup
Open the editor
Verilog (digital engine)74HC173v_hc173

74HC173 (4-bit register)

74HC173 (4-bit register): functional Verilog gate model, numbered SOIC pins as in the datasheet.

nOE1nOE2Q[0]Q[1]Q[2]Q[3]CLKGNDnE1nE2D[3]D[2]D[1]D[0]MRVCC74HC173
Schematic symbol

Key data

Category
Logic (Verilog)
Simulation model
Verilog (digital engine)
Manufacturer part number
74HC173
Reference prefix
U
Pins
16
Land pattern
SOIC-16_3.9x9.9mm_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
16 / 8
Top module
v_hc173
Output driver resistance
50 Ω
Verilog source

module v_hc173(input CLK,MR,nE1,nE2,nOE1,nOE2,input [3:0] D,output [3:0] Q);
reg [3:0] q;
always @(posedge CLK or posedge MR) if(MR)q<=0;else if(!nE1 && !nE2)q<=D;
assign Q=(!nOE1 && !nOE2)?q:4'bzzzz;
endmodule

Pins 16

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

Parameters 1

Gate delaytpd
Default10n

PCB

Verified land patternSOIC-16_3.9x9.9mm_P1.27mm