[ Content | Sidebar ]

Improved Waveform Output

October 27th, 2013

I’ve spent a lot of time recently improving the waveform output of my VHDL compiler / simulator. Previously only the simple VCD format was supported: this only allows Verilog-style 4-value logic types to be dumped so doesn’t map very well onto VHDL types. The implementation was also very inefficient resulting in a 3-4x slowdown in simulation speed.

After experimenting with LXT for a while, NVC now uses GtkWave’s FST format by default. With some help from GtkWave’s author it can now dump full 9-value logic as well as most common VHDL types (enumerations, strings, integers, etc.).

I’ve put some work into improving the performance of waveform output and now dumping every signal to a FST incurs around 30% overhead. The VCD dumper has also been rewritten giving around 90% overhead. This format should generally be avoided unless you do not have access to GtkWave.

The screen shot below shows some of the new features:

gtkwave

Butterflies

October 23rd, 2013

I was visiting my friend Winni in St Albans last weekend. On Sunday afternoon we went to the nearby Butterfly World. It was very very very wet. Which was a bit unfortunate as a lot of it was outside.

For somewhere so butterfly-themed there is a surprising amount of ant-based exhibits. Including a rather scary giant ant in the outside play area.

ant1_scale

A factoid I learnt: these leaf cutter ants are the only animals beside humans that grow their own food! Apparently they take these leafs back home and use them to grow edible fungus.

ant2_scale

This daft but strong ant has picked up a stick instead of a leaf.

butter1_scale

An actual butterfly (or is it a moth?), in the butterfly house.

butter3_scale

Transparent wings! Drinking the nectar from the flower. Followed by an upside down butterfly.

butter4_scale

Avebury

October 6th, 2013

Yesterday I headed to Swindon to finish off the remaining 16 or so miles of the Ridgeway path that I’ve been doing recently. While waiting for the bus I explored Swindon town centre a bit: it wasn’t really worth the effort, although there was a cool building with minis on the side (they’re produced in Swindown).

The Ridgeway eventually ends up near the Wiltshire village of Avebury. Averybury is somewhat unusual in that it’s surrounded by the largest ancient stone circle in Europe.

avebury_scale

There are some small pointed stones around (although you can’t see them in the photos) that are the result of a reprehensible act of 19th century cultural vandalism, referred to locally as The Shame, where villagers broke up some of the stones to use as building materials. These modern stones mark the place where the original ones stood.

The site is impressively large and much quieter and less commercialised than Stone Henge but the placement of the stones seem a bit haphazard: perhaps I’m missing the mystical significance. It’s apparently a focal point for modern pagans but the only other people I saw around were clearly tourists.

In The Dark

October 4th, 2013

It gets dark early in October eh?!

dark1_scale

On the way back home when I went walking in the Chilterns last weekend. Hambledon lock near Henley.

dark2_scale

Not to worry though as I have this super-awesome LED Lenser torch. It’s pocket-sized, all-metal, German-made, and even comes with a handy carry case. Buy one now!

Garden Train Fully Operational

September 15th, 2013

After having fallen into disrepair my parents’ garden train is now up and running!

garden_train_scale

Unfortunately since this photo was taken the viaduct was attacked by a mob of Luddite snails. Said snails became rather ill afterwards. Serves them right.

Sock Disaster

September 14th, 2013

I have previously congratulated running sock manufacturers on their clear labelling of left and right socks. However, I unfortunately managed to bring two right running socks back home to Hastings which I can assure you is much worse than having two ambiguous unlabelled socks.

Swindon

September 8th, 2013

Ah, Swindon. Who hasn’t dreamed of visiting that mythical Wiltshire town? I know I certainly have since I started walking along the ridgeway last week. So armed with maps and ample supplies I returned by bus to where I’d left off last time and headed west.

It’s a primal landscape dotted with iron age hill forts and ancient burial mounds. In places fire and brimstone bursts forth from the earth:

ridgeway1

At one point I came across hundreds of people milling about in a field. Turns out this was a metal detecting convention. Occasionally they would stop and poke at the dirt a bit, but no treasure was forthcoming while I was there.

metal_scale

To the north of the path is the “Vale of White Horse”, named after a giant white horse carved into the hillside by some iron age folk. For a local landmark it took quite some finding, and only onced I’d struggled up the hill did I notice the conveniently placed ancient viewing platform. So this photo doesn’t really demonstrate its horsey qualities:

horse_scale

One of the highlights of the trip was this 5000 year old burial mound in a glade just off the path. It’s called Wayland’s Smithy and was honestly a little bit creepy. Especially as I was the only one in the area.

mound_scale

After 20 or so miles I arrived on the edge of Swindon in a village called Wanborough. I didn’t fancy dashing over the dual carriageway and trudging through the outskirts of the town so instead I waited for a bus. Alarmingly a poster at the bus stop announced the imminent withdrawal of service. However the bus did eventually turn up and I was the only passenger for the entire trip, which perhaps explains its unprofitability.

On the way into Swindon the bus traversed one of the towns major landmarks: the Magic Roundabout. Now it wasn’t quite exciting as I’d expected, but that didn’t stop me taking a few snaps from the bus. I thought I heard the driver sniggering. If I were on Swindon council I would be promoting this as a tourist attraction, like Slough should have done with its bus station. There’s already a roundabout appreciation society who produce a mouse mat of this very junction so there is interest out there.

magic_scale

Speaking of bus stations, Swindon’s bears an uncanny resemblance to Slough’s former, much maligned, Brunel bus station.

bus_station

Fun day out! Below are some more photos from my adventuring.

Where has the fish gone?

September 2nd, 2013

I was somewhat distraught on a recent visit to Eastbourne when I discovered the fish fountain described previously on these pages had disappeared! Not just the fish but the water feature and plinth had also vanished.

Alarmed, I emailed the Enterprise Centre and heard no response for several weeks. I became convinced that I had uncovered some dark fishy conspiracy. But today I received this wonderful news:

Dear Nick

Many thanks for your message. We love it too – the bronze fish is our
logo and we are giving it a brand new home. Our designers are currently
working on its new setting as it will be re positioned in our entrance
externally!!

Hope to see it in its new home very soon.

Best wishes

Denise

I will be investigating further the next time I’m in the area.

Ridgeway

August 31st, 2013

I went for an adventure this afternoon in the hitherto unexplored region north west of Reading. Started in the pleasant village of Streatley and headed in the general direction of Swindon along the “ridgeway” national trail. At first it was a little dull and plodding, the only interesting site being this memorial to a solider killed in a 1947 accident:

ridgeway1_scale

Things improved somewhat after I crossed the A34. Still, it felt a unusually empty and desolate for southern England.

ridgeway2_scale

A while later I realised I was in the middle of nowhere with no obvious route back to civilisation. So I made a rapid detour via this rather ominous looking facility that I later discovered was the Rutherford Appleton Laboratory.

ridgeway3_scale

Eventually, and with the help of a well timed bus, I made it to Didcot. Didcot is not Oxfordshire’s prettiest town by a long margin. But at least I saw a steam train while I was waiting for the train back home:

ridgeway4_scale

August Bank Holiday

August 30th, 2013

Went for a really long walk last Monday where I discovered the previously discussed tank-tractor. On the way back to Henley there was a really awesome sunset and I managed to take some nice photos with the trees silhouetted against the dramatic clouds.