H
Howler
Guest
Hello all,
I am seeking some help with Verilog/vhdl. I am currently a student at
school and was given an assignment to write a program in verilog to
Implement Verilog program (module) to add two numbers (mini ALU) . The
external module should generate two numbers for example in a loop and
the sum should be calculated.
for i = 1; i < 100; i++
for j = 1; j < 100; j++
ADDModule(i,j,sum);
print (i, j, sum)
The coding is quite simple, however the few examples I have seen on
the web leave me with a few questions. We were told to use Xilinx's
product, however I am still not sure how the semantics work in this
environment. I come from an object oriented background so I am
thinking in terms of methods/functions. From the code I have seen
online verilog is similar to C. How do I use the testbench waveform?
Anyways any good resources out there or expert advise is appreciated.
Peace,
Omar
I am seeking some help with Verilog/vhdl. I am currently a student at
school and was given an assignment to write a program in verilog to
Implement Verilog program (module) to add two numbers (mini ALU) . The
external module should generate two numbers for example in a loop and
the sum should be calculated.
for i = 1; i < 100; i++
for j = 1; j < 100; j++
ADDModule(i,j,sum);
print (i, j, sum)
The coding is quite simple, however the few examples I have seen on
the web leave me with a few questions. We were told to use Xilinx's
product, however I am still not sure how the semantics work in this
environment. I come from an object oriented background so I am
thinking in terms of methods/functions. From the code I have seen
online verilog is similar to C. How do I use the testbench waveform?
Anyways any good resources out there or expert advise is appreciated.
Peace,
Omar