codpiece

[kod-pees] /ˈkɒdˌpis/
noun
1.
(in the 15th and 16th centuries) a flap or cover for the crotch in men's hose or tight-fitting breeches, usually matching the costume and often decorated.
2.
Obsolete, penis.
Origin
1400-50; late Middle English. See cod2, piece
British Dictionary definitions for codpiece

codpiece

/ˈkɒdˌpiːs/
noun
1.
a bag covering the male genitals, attached to hose or breeches by laces, etc, worn in the 15th and 16th centuries
Word Origin
C15: from cod² + piece
Word Origin and History for codpiece
n.

mid-15c., "a bagged appendage to the front of the breeches; often conspicuous" [OED], from Old English codd "a bag, pouch, husk," in Middle English, "testicles" (common Germanic, cf. Old Norse koddi "pillow," Dutch kodde "bag") + piece (n.).

Encyclopedia Article for codpiece

pouchlike addition to men's long hose, located at the crotch, worn first in the 15th century. It came into fashion with hose that were like tights and continued to be worn with breeches, or trousers. An earlier, narrower form of codpiece, worn with a belt or loincloth instead of hose or tights, was the basic fashion for men in the Aegean area during the Bronze Age.

Learn more about codpiece with a free trial on Britannica.com