help me..newbie in this language

OP #3210537
Rate this post
• ▲ useful
▼ not useful
please..can anyone help me to create the testbench for 
controller,datapath and alucontrol for the codes in attachment?it is 
hard to understand the codes so by doing some test bech hope it will 
help me to understand more..realy i'm a newbie..thank you
Attached files:
Guest #3210543
Rate this post
• ▲ useful
▼ not useful
Hi,

if you don't know anything about the language verilog, than start a very 
simple project. Try to describe a "OR", "AND", ... gate, several flip 
flops, counter, and so on. Write testbenches for all this simple tests. 
Than, and only than you can do this without problem and you feel save, 
take your module and start to write an testbench.

If you have no idea how to describe a OR gate, counter, etc. than begin 
to read literature, otherwise you will fail completely!!!

Regards
Guest #3210692
Rate this post
• ▲ useful
▼ not useful
in fact this "minimips" is vey interesting code!

My recommendation to qayyum salleh:
If you are new to the subject and want to learn Verilog hands on - start 
with some blinking LEDs, reaction on switches, some easy combinatorial 
logic and register logic examples.
If you want to continue towards more complex things - have a look at the 
website www.fpga4fun.com.
Another very good resource for learning purposes is the minimalistic 
MCPU at opencores (just google for MCPU...) I rewrote it from its 
functional specs and that helped me a lot to learn how things work ;)

Good Luck!

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.