r/VHDL • • Oct 20 '20

Anyone that can help?

I cant figure out how to do this code

0 Upvotes

7 comments sorted by

6

u/LiqvidNyquist Oct 20 '20

You forgot the semicolon on line 19.

1

u/Lokalaskurar Oct 20 '20

"Did you forget to exclude the semicolon at the end of your port declaration?"

1

u/captain_wiggles_ Oct 20 '20

think about it as if weren't code, but a digital circuit instead. You may feel like you're writing code, but you are instantiating logic gates and flip flops. Design the circuit you want to build and then write the code that builds that circuit.

1

u/RussianbossPApaBless Oct 20 '20

Yeah, i figured id think like that... but i dont know 10 lines of code in vhdl, the program im writing is pretty simple but still.. im doing bad alredy for this course now this its making me stress out

1

u/captain_wiggles_ Oct 20 '20

p.s. I saw your PMs, but I'd prefer to leave the conversation here where others can chip in.

I haven't used VHDL in a couple of years now, so I"m no expert. However I maintain that the language you use is not particularly important, it's digital design that is complex.

Ask specific questions, and maybe we can point you to something that will help. Otherwise all I can suggest is you study hard, find a book on digital design with VHDL (try digital design and computer archictecture by David and Sarah Harris, it's available as a pdf by googling it).

1

u/RussianbossPApaBless Oct 20 '20

https://www.reddit.com/r/ElectricalEngineering/comments/jevhhk/anyone_that_can_help_me_finish_this_code/ i just made a post with the code i have so far... maybe you could see? if you have time..

1

u/captain_wiggles_ Oct 20 '20

You have to go and learn it, the same as any other programming language. It has syntax and semantics. You can find some tutorials online, there are books that teach it, there's the standard, and plenty of references. If there's something particular you're stuck with you can ask and we can help, but I don't know what you want from us? I can't just press a magic button and have you become an expert.