On Thu, Dec 17, 2009 at 10:43:01PM +0530, Shakthi Kannan wrote: > Hi, > > Newbie to ghdl, here. > > I have an entities declaration file, lava.vhd, here: > http://shakthimaan.com/downloads/hardware/vlsi/lava.vhd > > There is this halfAdd.vhd (Half Adder circuit) example that uses the > definitions from lava.vhd file here: > http://shakthimaan.com/downloads/hardware/vlsi/halfAdd.vhd > > How do I include the lava.vhd file in halfAdd.vhd file with ghdl?
Hi, you don't need to include. Analyze first lava.vhd and then halfadd.vhd, like this: $ ghdl -a lava.vhd $ ghdl -a halfadd.vhd But you won't be able to simulate your design because it is not standalone. Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
