Save all of these files into a directory and then change to that directory and add these commands:
mkdir work vhdlan gates vhdlan half vhdlan full vhdlan tb vhdlsim tb
- .synopsys_vss.setup (Synopsys config file)
- sim.scr (simulator startup script)
- gates.vhd (description of the and, or, xor gates)
- half.vhd (the half adder, structural)
- full.vhd (the full adder, behavioural and structural)
- tb.vhd (a testbed for the full adder)
...or get a TAR file of all of them.