Re: Any ideas on how to do this?



Multiple reply coming, so, sorry for posting this at such level, and
not 3 replies to each of you.

Replying to Tim Wescott, well, that solution would be good, although I
can spare not too much clock ticks because the main use of this routine
is to show that 32 bits binary as a decimal using a VGA output module,
so using a lot of time is out of reason.
I saw this solution also (
http://www.vhdl-online.de/model_lib_patras/vhdl_sources/special/special.htm#bin_bcdN
) but it's unsyntesizable (?). I would be fondly grateful if you could
tell me anything about your solution.
By the way, sorry, as I'm replying to various people here I couldn't
apply the Usenet rules you wrote on the page on your sig. An
interesting read although!

Replying to Jan Panteltje, about VHDL... It's a requirement. All my
Electronics II, Computer Architecture I and II classes have been based
in VHDL. I never used Verilog but I can quite understand it (I follow
my rule of thumb, if it's readable then I can understand it).
In VHDL there is this language construct named GENERATE which can
create several components easily... But there's too much logic involved
using those 40 or 50 adders. Using a loop could be good although
(supported somehow in VHDL). However I'm going to look at your solution
and try to find an equivalent in VHDL.

Replying to John Fields, as I wrote before, using 429 seconds (at
10Mhz, although I would be using a 25Mhz clock) to show an answer is
out of question, even as I know that I wouldn't be using such high
numbers (I was not given any ranges, except being 32 bit numbers),
however, teachers love extreme cases to show the weakness of your
design.

Thanks all for your kind replies,

Juan Pablo Garcia

.


Loading