Sunday, December 4, 2011

Display Five-bit Binary Numbers in Decimal?

I'm so confused how to display a 5 variable binary kmap to hexadecimal display. How would you do a kmap without being given a function? Just put random functions on it? Also, how would you implement it just by using and,nand,or, not chips? Confused...please clarify and teach me.|||Yema, your writing is hard to parse. A 5 variable binary kmap is often just shown as two 4x4 grids and each row, I suppose, could be shown as a hex digit. So for all 8 rows (4 rows in each grid), that would be 8 hex digits (32 bits) to show the possibilities. You could just do this as a long table with 32 rows and only 1 bit for each permutation. But that doesn't seem to fit your description.



I've no idea why you are asking about "just put random functions in it?" Except that, yes, you need to know what the output bit value needs to be (I'm assuming here a 5 bit input to 1 bit output) for each permutation. Your job, from the rest of what you are saying, is to then minimize this logic to using 2-input AND, NAND, OR (and maybe NOR), and 1-input NOT gates. But I'm not sure about that. So I'm confused, too, about what your goal is.



If you need lessons on reducing kmaps, that involves more than I can write here. But you may google up some pages to look at that may help. I learned from a good book on the subject many years ago and the book is so old that it covers RTL, DTL, and TTL logic. Probably better books available today, so I won't bother recommending it.



If you really want to cheat and not learn, get a program called Logic Friday. It will do all you want here. But it won't teach you much.

No comments:

Post a Comment