VHDL coding in Xilinx

14
Following are the steps for writing and simulating VHDL code in Xilinx ISE environment. 1) Create New project from File Menu. Compiled By: Naveen Kumar Email: [email protected] Info-techgeek.blogspot.in

description

Basic steps to write a VHDL code in Xilinx ISE environment. Step-by-step picture is also shown to get the clear view of the process.

Transcript of VHDL coding in Xilinx

Page 1: VHDL coding in Xilinx

Following are the steps for writing and simulating VHDL code in Xilinx ISE environment.

1) Create New project from File Menu.

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 2: VHDL coding in Xilinx

2) Give the file name

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 3: VHDL coding in Xilinx

3) Select options as shown below:

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 4: VHDL coding in Xilinx

4) Press ‘Next’ two times in the follow-up windows and then ‘Finish’ at last.

5) Select New Source by clicking on project in sources window as shown below:

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 5: VHDL coding in Xilinx

6) Select VHDL Module and name the file. Then click Next

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 6: VHDL coding in Xilinx

7) Give port declarations as we do in entity. Then click Next. And then Finish.

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 7: VHDL coding in Xilinx

8) VHDL Code is presented on the screen. Now we just have to write the code in architecture.

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 8: VHDL coding in Xilinx

9) Select New Source by clicking on project in sources and then select Test Bench Waveform and name the file. Then Click Next two times and then Finish.

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 9: VHDL coding in Xilinx

10) A new window appears as shown below. For combinational circuits select combinatorial clock.

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 10: VHDL coding in Xilinx

11) Set the input waveforms by clicking on the waveform at different time intervals.

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 11: VHDL coding in Xilinx

12) Select Behavioural Simulation from sources window.

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 12: VHDL coding in Xilinx

13) Under Processes window simulate the file.

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in

Page 13: VHDL coding in Xilinx

14) The output simulations is observed at last.

Compiled By: Naveen KumarEmail: [email protected]

Info-techgeek.blogspot.in