willprice / vhdl-computer

A computer written ground up in VHDL
willprice.org/vhdl-computer
GNU General Public License v3.0
1 stars 0 forks source link

Create Build system #8

Open ben-marshall opened 10 years ago

ben-marshall commented 10 years ago

The build system has to implement a variety of features, including:

willprice commented 10 years ago

Make or SCons, or CMake? I'm not using autotools :)

ben-marshall commented 10 years ago

CMake please!

willprice commented 10 years ago

Never used it, but it looks like a decent modern alternative to autotools. SCons excels at custom build processes as it gives you the full power of python. Still wish to use CMake? I don't mind, I'd be happy with either.

ben-marshall commented 10 years ago

SCons - Make it so!

willprice commented 10 years ago

(notes to self)

What sort of process do you want? What are we creating executables of, the test benches?

Presumably we also want to generate FPGA binaries/images (whatever they call them, please relieve me of my ignorance ;) so it'd be helpful to have an example script of building an image that I can use to write a builder

ben-marshall commented 10 years ago

Okay - for now just focus on being able to take a single module and its test bench, compile them and run the resulting testbench - putting all related files well away from the src directory.

We will cross the FPGA bit files bridge when we come to it.

ben-marshall commented 10 years ago

I've sort of reverse engineered the check syntax function of ISE. Have a look in the tools/runbuild.sh file to see what the new system will need to start by doing.