URL
https://opencores.org/ocsvn/mblite/mblite/trunk
Subversion Repositories mblite
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 9 to Rev 10
- ↔ Reverse comparison
Rev 9 → Rev 10
/mblite/trunk/hw/core/fetch.vhd
46,7 → 46,9
variable v : fetch_out_type; |
begin |
v := r; |
if fetch_i.hazard = '1' then |
if rst_i = '1' then |
v.program_counter := (OTHERS => '0'); |
elsif fetch_i.hazard = '1' then |
v.program_counter := r.program_counter; |
elsif fetch_i.branch = '1' then |
v.program_counter := fetch_i.branch_target; |