Forum Discussion
12 Replies
- Altera_Forum
Honored Contributor
I assume you have some basic VHDL training (as I suspect this is a homework assignment). Just write what you can and when you run into trouble with your code, feel free to ask for help. Try some basic blink-the-led projects first. I'm sure altera has a base project for the DE2 on their website with pin assignments already done.
- Altera_Forum
Honored Contributor
okay..
if the coding like this library ieee; use ieee.std_logic_1164.all; entity peak_mode is port (clk: in bit; RT1, RT2,RT3, RT4, RT5, RT6, GT1, GT2, GT3, GT4, GT5, GT6, YT1, YT2, YT3, YT4, YT5, YT6: out bit); end peak_mode; i want to know, how can i assign pin for the output?means on the traffic light board.i also not understand how GPIO pin function. - Altera_Forum
Honored Contributor
Hi
I want to design traffic light controller using AHDL so I writ the code for traffic controller and for the timers and all is successful individual but when I design the circuit for all and connected to gather I have three error but I do not know how to fix it so please can some one help me and tell me what must I do. Thank you. This is the error. [1] error: port "100_cnt" does not exist in macrofunction "inst20".[2] error: quartus ii analysis & synthesis was unsuccessful. 1 error, 11 warnings.
[3] error: quartus ii full compilation was unsuccessful. 3 errors, 11 warning.
What is mean about the macrofunction.
- Altera_Forum
Honored Contributor
Would like to see more of it.
- Altera_Forum
Honored Contributor
--- Quote Start --- Hi I want to design traffic light controller using AHDL so I writ the code for traffic controller and for the timers and all is successful individual but when I design the circuit for all and connected to gather I have three error but I do not know how to fix it so please can some one help me and tell me what must I do. Thank you. This is the error. [1] error: port "100_cnt" does not exist in macrofunction "inst20".[2] error: quartus ii analysis & synthesis was unsuccessful. 1 error, 11 warnings.
[3] error: quartus ii full compilation was unsuccessful. 3 errors, 11 warning.
What is mean about the macrofunction. --- Quote End --- Usually only the first error is significant to look at. In your case most probably you have named the port incorrectly when you instantiate the "inst20" entity.
- Altera_Forum
Honored Contributor
--- Quote Start --- okay.. if the coding like this library ieee; use ieee.std_logic_1164.all; entity peak_mode is port (clk: in bit; RT1, RT2,RT3, RT4, RT5, RT6, GT1, GT2, GT3, GT4, GT5, GT6, YT1, YT2, YT3, YT4, YT5, YT6: out bit); end peak_mode; i want to know, how can i assign pin for the output?means on the traffic light board.i also not understand how GPIO pin function. --- Quote End --- You can use pin planner in Quartus II to assign the inputs and outputs of your top entity code. - Altera_Forum
Honored Contributor
--- Quote Start --- You can use pin planner in Quartus II to assign the inputs and outputs of your top entity code. --- Quote End --- i don't know what pin should i use to describe my output because it on traffic light board and i use GPIO pin to connect with DE2 board.can you give me some idea about it? my deadline is coming soon.but i not done my project yet. :( please help me - Altera_Forum
Honored Contributor
Check the development kit board schematic to find out which FPGA pin is connected to the GPIO pin you are using.
- Altera_Forum
Honored Contributor
hi..
anyone can help me.i want to connect from my laptop to DE2 board.then connect DE2 board with another laptop as output.I connect it using VGA cable.the problem is, we need to setting up first or connect just like that? - Altera_Forum
Honored Contributor
What kind of communication do you want to implement between the DE2 board and the laptops? The VGA connector is only an output that can be connected to a screen.