Model Sim Doubt

OP #7504057
Rate this post
• ▲ useful
▼ not useful

Hello friends, it's me again. I made several progress with the VHDL and i can think pretty better in terms of coding even thanks to you. I think i finished my project (motor control with PWM and PI). Anyway, i coded the PWM and the PI in 2 different files and simulated them (all works 😎). When i was about to link them, like a testbench you do for GTKWave, i frooze. How do i make to comunicate and link 2 files and simulate with Model Sim? Should i use the COMPONENT statement? Should i put the two entities in the same file? I hope that i made clear my doubt. Thank you guys in advance, have a nice day

Attached files:
OP #7504271
Rate this post
• ▲ useful
▼ not useful

First of all, that simulation is SICK! How did you get such a cool waves? By the way, i don't have a testbench yet because i simulated the single entities by forcing the values in Model Sim. Before coding a TB i will try to use the component statement since i made an experiment earlier and it worked. In conclusion for now, Mr Rick, do you think that this PI is good? I just made it from nothing, i am a newbie in the VHDL world. I will update you

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.