Author Archives: andy

STLplus 3.8 Released

This is an update incorporating a number of small changes and bug-fixes. See http://stlplus.sourceforge.net/stlplus3/docs/changes.html for more details. Continue reading

Posted in Announcements, C++, Software | Comments Off

C# – calling C functions – C# callbacks

The final tutorial in this series on calling C functions from C# covers the problem of how to pass a C# callback function to a C function. This is needed if you are using a C DLL and there are … Continue reading

Posted in C#, Software, Tutorials | Leave a comment

C# – calling C functions – marshalling structs

A Previous Post explained how to marshall simple parameters so that C# code can call C functions. The marshalling ensures that all the conversions to get from C# to C types on calling the function, then back to C# types … Continue reading

Posted in C#, Software, Tutorials | Leave a comment

C# – calling C functions – marshalling parameter types

The Problem I am using a DLL provided for me, written in C and I want to call its functions from C#. I have explained in a previous post how to dynamically load a function from a DLL and map … Continue reading

Posted in C#, Software, Tutorials | Leave a comment

C# – building a dynamic DLL loader

Following on from the previous C# article – dynamic loading of a C DLL at run-time, the next step is to make the dynamic loading functions into a class. The class will be in global scope for this example – … Continue reading

Posted in C#, Software, Tutorials | Leave a comment

VHDL for Logic Synthesis – 3rd Edition Published

I now have my author’s copies of VHDL for Logic Synthesis 3rd Edition (in fact I’ve had them for a while), confirming that it is now out there and available at bookshops. To buy the book, go to: Amazon UK … Continue reading

Posted in VHDL, VHDL for Logic Synthesis | Leave a comment

C# – dynamic loading of a C DLL at run-time

The Problem I am working on a C# project which needs to load one of a set of DLLs at run-time. Indeed, it needs to be able to load and unload them, possibly then loading a different one. The problem … Continue reading

Posted in C#, Software, Tutorials | Leave a comment

VHDL for Logic Synthesis – Case Study Code

In Chapter 15 of VHDL for Logic Synthesis (3rd edition) I work through a case study of a low-pass digital filter. The source code for the filter is downloadable below: low_pass_filter low_pass_filter_16 low_pass_filter_32 low_pass_filter_test This design is then reworked as … Continue reading

Posted in Examples, VHDL, VHDL for Logic Synthesis | Leave a comment

Shell scripting tutorials – more prefix commands

The previous article on shell scripting of prefix commands introduced the subject, introduced some pre-defined prefix commands and then showed how to write a basic prefix command using the sleep-before command as an example. This article continues in the same … Continue reading

Posted in Shell scripting, Software, Tutorials | Leave a comment

STLplus 3.7 Released

This is an update incorporating a number of small changes and bug-fixes. I have also rearranged the IDE project files to be separate from the source code.See http://stlplus.sourceforge.net/stlplus3/docs/changes.html for more details. Continue reading

Posted in Announcements, C++, Software | Comments Off