Methods, uses, medicaments, and unit doses for treating viral diseases are described herein. Methods, uses, medicaments, and unit doses include: (a) substituted piperidine and piperazine carboxamide, or a pharmaceutically acceptable salt thereof, and (b) one or more pharmaceutically acceptable carriers, diluents, Or an excipient, or a combination thereof. Viral diseases include hepatitis C virus, HIV, BVDV, and coronavirus infection.ウイルス性疾患を処置するための方法、使用、医薬、および単位用量が、本明細書において記載されている。方法、使用、医薬、および単位用量は、(a)置換ピペリジンおよびピペラジンカルボキサミド、または薬学的に許容されるその塩、ならびに(b)1種もしくは複数の薬学的に許容される担体、希釈剤、もしくは賦形剤、またはこれらの組合せを含む。ウイルス性疾患は、C型肝炎ウイルス、HIV、BVDV、およびコロナウイルス感染症を含む。