[Open-graphics] CPU fetch stage
Timothy Normand Miller
theosib at gmail.com
Sat Mar 24 20:51:15 EDT 2007
On 3/22/07, Robert Fitzsimons <robfitz at 273k.net> wrote:
> > // Cause branch
> > input [1:0] branch_condition;
> ...
> > case (branch_condition)
> > 0: do_branch = 0; // no branch
> ...
> > 7: do_branch = !bneg && !beqz; // reg > 0
> > endcase
>
> Just a quick comment. Should the type of branch_condition not be [2:0]?
> The case statement has 8 values which would require 3 bits.
You are absolutely right.
> Othere then that I have a high level idea of how the stage works, but I'm
> still very much a newbie when it comes to verilog.
Keep watching. Finding any problem, no matter how 'trivial' it might
seem is actually very valuable participation.
--
Timothy Normand Miller
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project
More information about the Open-graphics
mailing list