[Magic-dev] Re: Magic Dstyle
R. Timothy Edwards
tim at opencircuitdesign.com
Wed May 10 00:11:19 EDT 2006
Dear Oliver,
> I searched in the Maintainer's Manual #3 but I can't find no reference between the
> numbers and stipples. There are some explainded in the Dstyle but not all.
> Is there a dokument that explains all? Are the stipples a Unix thing?
Using integers for the stipple number, and hex numbers for the patterns,
the following line from the mos.24bit.dstyle file:
5 40 20 10 08 04 02 01 80 sparse diagonal stripes, ll to ur
corresponds to a hex pattern 0x40 0x20 0x10 0x08 0x04 0x02 0x01 0x80
which in binary is an 8x8 bitmap:
00000010
00000100
00001000
00010000
00100000
01000000
10000000
00000001
Note that the actual bit pattern is reversed, left-to-right, with
the most significant bit on the right, not the left.
I'm pretty sure I documented this somewhere, although it is clear
that a new, updated, online, HTML version of the "Maintainer's
Manual #3" is needed.
> Which dstyle file is loaded by default?
There is no "default" per se, but all the standard technology files
declare style "mos", and the default monitor is "std". The styles
depend on the graphics package used ("-d" option), which for most
systems would default to "24bit" (few people use 8-bit indexed
graphics anymore). So, the usual files would be:
mos.24bit.std.cmap
mos.24bit.dstyle
Regards,
Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: tim at opencircuitdesign.com |
| Open Circuit Design, Inc. | web: http://opencircuitdesign.com |
| 22815 Timber Creek Lane | phone: (301) 528-9364 |
| Clarksburg, MD 20871-4001 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
More information about the magic-dev
mailing list