Organization of character bit maps

Hi,

I want to design a character generator.

Using Lattice XP EBR blocks I have the following architecture of the RAM blocks available:

8192bit =3D 36bit * 256

Now I want to store ASCII characters with following dimensions:

12bit wide, 18bit high

When trying to display characters arranged successively what organization of characters in RAM would be reasonable ?

I can think of two possible alternatives:

a)

1 ..... 36 C0 C0 ...... C0 C0 C0 ..... C0 C0 C0 ...... C0 C0 C0 ...... C0 C0 C0 ...... C0 C0 C0 ...... C0

Rgds Andr=E9 C1 C1 .......C1 .=2E.

1 ...12 13 ... 24 25 ... 36 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C1 ... C1 C2 ... C2 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C1 ... C1 C2 ... C2 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C1 ... C1 C2 ... C2 .=2E. C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C1 ... C1 C2 ... C2
Reply to
ALuPin
Loading thread data ...

Trying again:

a)

1 ..... 36 C0 C0 ...... C0 C0 C0 ..... C0 C0 C0 ...... C0 C0 C0 ...... C0 C0 C0 ...... C0 C0 C0 ...... C0 C1 C1 .......C1 .=2E.

b)

1 ...12 13 ... 24 25 ... 36 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C1 ... C1 C2 ... C2 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C1 ... C1 C2 ... C2 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C1 ... C1 C2 ... C2 .=2E. C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C1 ... C1 C2 ... C2

Rgds Andr=E9

Reply to
ALuPin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.