10-02-2018, 05:46 PM
(10-02-2018, 08:01 AM)ppppenguin Wrote: Frank, boolean type is almost essential in VHDL. Whenever you say something like B <= (S = X"25"); then B is boolean.
Hi Jeffery
For something like that I would currently write
if S = x"25" then B <= '1' else B <= '0';
I do this without even thinking, its the microcontroller programing creeping in.
Writing it proper using Boolean is much clearer and easier to read back.
As a beginner knowing where it is best to use Integer's, Boolean etc. was the difficult part but even with the limited experience that I have now it has become clearer. It's only as I learn and try to write VHDL that realize how elegant your files are.
The first microcontroller program I wrote functioned well but when I came back and looked at it a year later I cringed and immediately rewrote it as it was so badly written. I fear in a the future I will do the same with the VHDL files I have now.
Hi Trevor.
I started this project back in November 2016 and it has taken up all my spare time until now. I expect if I toted up all I have spent on it I could easily buy at least one if not two Aurora's but I am doing it for the challenge and also to learn although the more I learn the more I realize how little I know.
As for how much the parts for one would cost. I am putting together a parts list and I will post it here when complete but I would guesstimate between 80 and 100 euro. It looks small but there is still quite a number of components in it.
I would have liked to have got rid of the Development board and have everything on the one PCB but I couldn't justify doing that. The components on the Development Board would cost about 3 times the cost of the Development Board also I would need either larger PCB or a 4 layer PCB.
Frank







