Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi,
Can u please tell which tool you are using for your design?
There is no such thing as formulae. The tools will calculate and give you the area and timing of your design.
Thanks,
Manoj
Hi,
yeah! you are right ....but multiplication of higher widths (a*a) will also have larger delays (multiplier delays also depend on the widths as far as i know).
But again iam not sure .........may be multiplication is the only best way, because all FPGA tools will synthesize it into a...
Hi,
Here is a way which i saw somewhere
00001 + 0 = 00010 (2)
00010 + 2 (0+2) = 00100 (4)
00010 + 6 (2+4) = 01001 (9)
00100 + 12 (4+8) = 10000 (16)
00101 + 20 (8+16) = 11001 (25) ...........
Iam not saying that this can be efficiently be implemented in digital...
Hi,
Now the question seems to be clear...
You need to have registers and a counter which will count the number of clock cycles for which input data should be buffered...(in your case 12)
also you can implement small control logic around the registers which can signal buffer full, empty etc...
Well i think you can get a good rough estimate from the report.by knowing how many registers are used and as how the LUTs are configured...if in case you just want to compare the gate counts of your vhdl codes
But, if you really want the exacy gate count, and your design is large i dont thing...
Hi,
in the test bench you did not include the file which contains your top module "count" ...
you have included "icnd.v" which is not your top module, and doesent contain module "count"
It should give error for module instantiation itself....
Thanks,
Manoj
Hi,
its really confusing what is your icnd.v ?
is it the one which has module count or module icnd?
may be i can help if u give clear info...
Thanks,
Manoj
You must write
'include "filename.v"
in your file where you have your top module or where you want to use that module
Remember
1. It should be filename.v and not modulename.v
2. make sure that file is in your current directory (better do it this way).......otherwise you need to specify...
Hi,
1. If u wnat to have two instances of a module, it doesent mean u have to define the module twice (shift8 and shift_load).
2. Have a top module where you instantiate all the modules. You are doing it in the testbench.
3. In the testbench try to instantiate only the top module.
4. Also you...
Hi,
reg is the only legal type on the left-hand side of an always block,and hence address should be of type reg
Please make this point clear in your mind
"Just making (address) or for that matter any net of type reg DOESENT mean that it will infer a register"
Also,avoid inferring latches...
Hi,
Put assign in front of all your assignment statements...
Combinational logic is implemented in verilog using either assign statement or always block.
Also, your code is redundant...(assign O = M ^ Y is enough)
What is the use of Verilog then?
Thanks,
Manoj
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.