Ship Cargo Loading System
SMALL DOCK · KEPT HONEST

So, we had to do a project.

One dock. Four switches. A threshold that decides when a ship is full.

See the circuit Pulse arrival

Final Proteus schematic
As built in Proteus. Subsystem crops below.
scroll gently ↓
THE COURSE

CSE 4206, unhurried.

Digital Logic Design Lab · IUT Summer 2024–2025 · Proteus · 74LS TTL

Ship Cargo Loading System

Accumulate, compare, display, depart. A full ship clears the dock by itself.

MD. Sadman Saif ZarifInput & StorageAyesha Chowdhury ArontiVisualizationSanjid AhsanAutomation
THE DOCK

One schematic, four corners.

01

OR-tree validation

Empty ships are turned away before anything latches.

Input validation
02

Adder plus memory

U7 adds SW and Q. U6 keeps the running total.

Accumulator
03

Readable decimal

Q of 10 or more gets a plus-six correction.

BCD display
04

A comparator decides

Yellow below, red over, green exact. Green counts and clears.

Comparator

Slow freight, five moves.

1

Set cargo on SW0–SW3. All low means no pulse.

2

Pulse arrival. The sum lands in U6.

3

Read tens and units. Ten and above is corrected.

4

Compare against B0–B3. Watch the three lamps.

5

On exact match, departures rise by one and the dock returns to zero.

PARTS

Eleven chips, no more.

U1 74LS32 · OR-tree + BCD detect
U2 74LS08 · pulse gate + detect
U3 U4 U11 74LS47 · displays
U5 U7 74LS283 · correct + accumulate

U6 74LS193 · dock register
U8 74LS04 · PL invert
U9 74LS85 · comparator
U10 74LS90 · departures
R1 10k pull-up · D1–D3 lamps

DROPPED

What we cut.

Dual-dock routing, the 5-state storm FSM, and the drain engine were removed after Proteus SPICE refused to converge. The comparator outputs already carried the three states that mattered. Full reasoning in report §5.

Pulse a ship yourself.

Cargo

Capacity

0
0
0
YellowRedGreen
—
PROOF

Report, file, film.

Read the report, open the Proteus file, watch the demo.