相关文章推荐

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

endgenerate
its prints right from 0 to 9 but after 9 it prints something else as per ASCII table. Therefore I need 2 digits from ASCII instead of 1 but I don't know how to arrange this?
something like this:
assign number[15:8] = ((32/10 ) % 10) + 8'h30;
assign number[7:0] = ((32/1 ) % 10) + 8'h30;
can split into 2 digits but don't know how to arrange inside loop.
Any help? This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies. Accept Learn more…
 
推荐文章