Skip to content

A question on neorv32_tb.simple.vhd #1052

Closed Answered by stnolting
mahdi259 asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, I remember. 😅

This method is only sufficient for external memory. I wondered if it's possible to have internal memory and again print data corresponding to a volatile variable.
According to you, I should use following signals right?

That's right. Just add your monitoring logic to main2_req. Here is the type definition:

type bus_req_t is record
addr : std_ulogic_vector(31 downto 0); -- access address
data : std_ulogic_vector(31 downto 0); -- write data
ben : std_ulogic_vector(3 downto 0); -- byte enable
stb : std_ulogic; -- request strobe, single-shot
rw : std_ulogic; -- 0=read, 1=write

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mahdi259
Comment options

@stnolting
Comment options

Answer selected by mahdi259
@mahdi259
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants