Add the support for changing bootrom #28
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the support for changing bootrom address by
boot_mode_i
at the chip levelModify the
occamy_soc_ctrl.sv
: Add the boot_addr signals inoccamy_soc_ctrl.sv
.// boot address
logic [31:0] boot_addr_d, boot_addr_q;
logic [31:0] boot_addr_init;
logic [1:0] boot_mode;
assign boot_mode = hw2reg_i.boot_mode.d;
always_comb begin
boot_addr_init = (boot_mode == 2'b00)? ${default_boot_addr}:${backup_boot_addr};
boot_addr_d = (boot_mode == 2'b00)? ${default_boot_addr}:${backup_boot_addr};
boot_addr_o = boot_addr_q;
end
The ${backup_boot_addr} is defined in occamy_cfg and the ${default_boot_addr} is set to the starting address of from.
2. Do some clean up on the hbm xbar
3. Do some clean up on the occamy gen flag during rtl generation
4. Do some clean up on the bender file