Jump to content

Example risc_cpu from systemc-2.3.4.zip issues.


Recommended Posts

Good Day,

I was using the example risc_cpu from systemc-2.3.4.zip  from your website.

I used the default file test.asm and the branch instruction [bne     R5, R6, -6] does not work.

I see what may be some type of issue with timing or handshake, etc.

I debugged some and see clear_branch(), and branch_valid() seem to be done and causing branch_target_address.write() to be done at the wrong time.


Do you have updated code that emulates the instructions correctly for systemc-2.3.4.zip or later codebase?


Doug Moore


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...