Monday, May 10, 2010

VHDL evaluating B GT A

So I stop screwing this up over and over,

Method for determinging A GT B for two unsigned integers using standard subtractor in VHDL:

where f(x,y) = x-y = x + 2's complement(y),

carry out of f(B-A) shows B > A. not f(A-B).

Examples:

1) is 70128 GT 65535?
for 24 bit case,
B = 70128 = x0111F0
A = 65535 = x00FFFF, 2s_comp(B) = xFF0001

B - A = x0111F0 + xFF0001 = x10011F1, carry out is 1, remainder = B-A = 4593

2) is 32768 GT 65535?
for 24 bit case,
B = 32768 = x008000
A = 65535 = x00FFFF, 2s_comp(B) = xFF0001

B - A = x008000 + xFF0001 = xFF8001, carry out is 0, remainder = B-A = -32767

Wednesday, May 5, 2010

Excel: Reformatting timestamps to get a graph with time on the x axis

Time column is in decimal seconds from some completely random timebase, which I took one calibration of.

Created a column with format "Time" of type hh:mm:ss. Formula for that column was:

=TIMEVALUE(TEXT("8:21:00 AM"+(A2 - 906897)/86400, "h:mm:ss"))

i.e. A2 contains a time in seconds, at 8:21 AM the seconds were 906897, and the conversion factor is expecting decimal hours (86400 seconds per hour). Converting it with TIMEVALUE produces fraction of a day, but that is then displayed properly due to the cell formatting.

This does not address the case of crossing a date boundary. Date conversion functions are not useful because the only cell formats available for date do not include seconds.

Monday, May 3, 2010

Master Cam 9

Another search:

http://www.google.com/search?hl=en&q=autocad+to+mastercam+translator&aq=f&aqi=&aql=&oq=&gs_rfai=

Industry Links

News Feeds:

Nucleus, at hobbyspace.com, the best newspace source now that spacefellowship.com is all crapped up with NASA press releases.
http://www.hobbyspace.com/nucleus/index.php

Jeff Foust's information packed spacepolitics blog:
http://www.spacepolitics.com/

The Once and Future Moon blog:
http://blogs.airspacemag.com/moon/

Live Media:

Spacevidcast, spotty but still the most extensive coverage of newspace events:
http://www.spacevidcast.com/

Some kind of KSC voice loop available through internet radio as of 6/2010:
http://www.radioreference.com/apps/audio/?action=wp&feedId=705

Newspace projects' individual sites:

Unreasonable Rocket:
http://unreasonablerocket.blogspot.com

JP Aerospace (those crazy balloon guys):
http://jpaerospace.com/blog

Master Cam 9

Why Can't Tony Read? Found info on Master Cam 9.

The manual, "What's new in Master Cam 9":
http://www.scribd.com/doc/12359930/Master-Cam-9

Google search with results including, ironically, cracked copies on bittorrent.
http://www.google.com/search?hl=en&ei=icvVS-f3GJf0NLWd3NID&sa=X&oi=spell&resnum=1&ct=result&q=Mastercam+version+9+autocad+translation&spell=1