Could not find gnatmake binary after MacOS installation https://stackoverflow.com/questions/76664861/could-not-find-gnatmake-binary-after-macos-installation #ada #programming #makefile #macos #gnat #ghdl #ada
#ada #programming #makefile #macos #gnat #ghdl
@phf @yosyshq this is the upduino v1 board with #Lattice #ice40 (there is even a v3) HW Description (mainly a I2C controller) is done in #GHDL and synthesis with #yosys and itโs ghdl plugin. Place and route is done with #nextpnr. Picture shows #FPGA floorplan and utilization.
#lattice #ice40 #ghdl #yosys #nextpnr #fpga
Interesting details of ieee.fixed_pkg
Today I learned that in order to assign a negative sfixed (signed fixed-point) signal or variable to another signal or variable, I have to use resize.
process
variable x0: sfixed(7 downto -8) := to_sfixed(1, 7, -8);
constant val: sfixed(7 downto -8) := to_sfixed(10, 7, -8);
begin
-- does not work:
x0 := -val;
https://bowfinger.de/blog/2023/05/interesting-details-of-ieee-fixed_pkg/
Ok so it's still a bit buggy on windows, and ModelSim doesn't play nice.
But combined with #GHDL for open source #VHDL simulation and #gtkwave for wave viewing it's a surprisingly comfortable to set up tool chain, especially on Linux it's all just via package manager and pip~
Now to learn proper file structuring and documenting habits to raise the code quality bar a bit, probably add proper test benches~
Again #TerosHDL helps with built in docs generator <3
#ghdl #vhdl #gtkwave #teroshdl
Just noticed that all the #ghdl have been dropped from the Arch repos. (This probably happened a while back, but I've only just noticed.) However, #freehdl is in Community.
Before I go and compile ghdl-gcc from source, is it worth me switching to FreeHDL? Bearing in mind that I am very much a noob with #VHDL and #DigitalDesign as a whole, although not with #Linux.
#linux #digitaldesign #vhdl #freehdl #ghdl
@havoc hmmm I thought the point of #VHSIC #HDL is that the whole language is an appropriate HDL for VHSIC. Do you use #ghdl at all? Or you're within the AMD demesne aren't you?
#VHDL
Do you think we could make a little lisp inside VHDL for describing trivial circuits? (Not the most appropriate use but it's early days).
Anyone know how to convert a vcd to text file?
I'm trying to verify my vhdl program with a python version (which saves the output to a text file), but the best i can seem to get out of #modelsim to a file is VCD.
I would like to write my own testbenches, simulate with #ghdl and then view output with #gtkwave but until I can actually figure out how to write a testbench I'm stuck with #modelsim and quartus prime :(
#gtkwave #ghdl #modelsim #techsupport #vhdl