gjivan72
Newbie level 4
I am having trouble synthesizing blocking statements. I have a model MIPS processor and I am trying to introduce bugs to the processor. I am working with behavioral Verilog and synthesizing/compiling it with Synopsys Design Compiler. I am using ModelSim to check both the behavioral and structural code. I have attached two files. The original and bugged version. There are other modules but they all are unchanged from the original version.
I just changed the always block from nonblocking to blocking.
When I simulate the bugged behavioral processor before synthesis I notice errors in my test bench when compared to the original processor. However, when I try to simulate the synthesized version (structural) I get an output that matches the original processor. I assume the blocking is being turned into combinational logic. Thanks for any help. I have included only the behaviral code. There is a top processor that has other modules such as a reg file, decoder, and ALU. I am only changing the ALU.
Here is another post for more background info:
Thanks
I just changed the always block from nonblocking to blocking.
When I simulate the bugged behavioral processor before synthesis I notice errors in my test bench when compared to the original processor. However, when I try to simulate the synthesized version (structural) I get an output that matches the original processor. I assume the blocking is being turned into combinational logic. Thanks for any help. I have included only the behaviral code. There is a top processor that has other modules such as a reg file, decoder, and ALU. I am only changing the ALU.
Here is another post for more background info:
Thanks