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.
Okay... finally after a few hours I managed to find the problem. In my code I use '=' instead of a '<=' when assigning registers and therefore when running synthesis the register got all trimmed out and it behaves differently.
Now here's to the main problem, if I need to use '<=' because I...
I have a verilog code below.
always @(posedge Clk) begin
ForwardA = 0;
ForwardB = 0;
//EX Hazard
if (EXMEMRegWrite == 1) begin
if (EXMEMrd != 0)
if (EXMEMrd == IDEXrs)
ForwardA = 2'b10;
if (EXMEMrd == IDEXrt && IDEXTest == 0)
ForwardB = 2'b10;
end
//MEM Hazard
if...
I have written a mips pipelined datapath using verilog and then it does what it's supposed to do on simulation (ISim), however when I run synthesis and put it on my FPGA board it behaves differently. I have a branch instruction which branches when it's not supposed to, however on simulation...
so if I use Result1 + Result2 in verilog and on synthesis xilinx won't translate that to a carry lookahead gate adder? or any faster gate level addition?
I am getting the following warning in my synthesis report:
I have a combinatorial logic that takes the Clk from the board and slows it down by a factor of 1250, basically a clock divider.
Based from reading the manual in verilog I have put the following code in my top module:
// synthesis...
I am implementing a single cycle datapath in verilog and it has an ALU inside of it. One of the ALU functionality is to add.. and I did use the verilog '+' sign for this. If I had another module to perform add using gate level, will this make my clock speed much faster when I synthesize?
The...
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.