jjzjj

Countbcd

全部标签

[HDLBits] Countbcd

Builda4-digitBCD(binary-codeddecimal)counter.Eachdecimaldigitisencodedusing4bits:q[3:0]istheonesdigit,q[7:4]isthetensdigit,etc.Fordigits[3:1],alsooutputanenablesignalindicatingwheneachoftheupperthreedigitsshouldbeincremented.Youmaywanttoinstantiateormodifysomeone-digit decadecounters.moduletop_modul